Skip to content

Commit 588e762

Browse files
authored
Fix typo in README (#51)
* fix(readme): fix typo * style: run cargo fmt
1 parent 80f1cdd commit 588e762

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Add this to your `Cargo.toml` (replace _current_version_ with the [latest versio
3434

3535
```toml
3636
[dependencies]
37-
hypergraph = "curent_version"
37+
hypergraph = "current_version"
3838
```
3939

4040
## ⚡️ Usage

tests/integration_iterator.rs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,14 @@ fn integration_iterator() {
4646
vec![
4747
(hyperedge_one, vec![vertex_one, vertex_two, vertex_three]),
4848
(hyperedge_two, vec![vertex_four, vertex_five]),
49-
(hyperedge_three, vec![
50-
vertex_three,
51-
vertex_three,
52-
vertex_three
53-
]),
54-
(hyperedge_four, vec![
55-
vertex_five,
56-
vertex_four,
57-
vertex_three,
58-
vertex_one
59-
])
49+
(
50+
hyperedge_three,
51+
vec![vertex_three, vertex_three, vertex_three]
52+
),
53+
(
54+
hyperedge_four,
55+
vec![vertex_five, vertex_four, vertex_three, vertex_one]
56+
)
6057
],
6158
"should provide `into_iter()` yelding a vector of tuples of the form (hyperedge, vector of vertices)"
6259
);

0 commit comments

Comments
 (0)