Skip to content

Commit

Permalink
Update README.md (#268)
Browse files Browse the repository at this point in the history
Code example was incorrect - has semi-colon instead of a dot.
  • Loading branch information
owenrh authored Apr 18, 2020
1 parent 2aa113c commit 1a97786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For example, here is a differential dataflow fragment to compute the out-degree
```rust
let out_degr_dist =
edges.map(|(src, _dst)| src) // extract source
.count(); // count occurrences of source
.count() // count occurrences of source
.map(|(_src, deg)| deg) // extract degree
.count(); // count occurrences of degree
```
Expand Down Expand Up @@ -53,7 +53,7 @@ let (mut input, probe) = worker.dataflow(|scope| {

let out_degr_distr =
edges.map(|(src, _dst)| src) // extract source
.count(); // count occurrences of source
.count() // count occurrences of source
.map(|(_src, deg)| deg) // extract degree
.count(); // count occurrences of degree

Expand Down

0 comments on commit 1a97786

Please sign in to comment.