Skip to content

Commit 22c479a

Browse files
committed
Update for itertools 0.10.0
1 parent b0fc215 commit 22c479a

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ version = "0.1.0"
44
authors = ["rustomax"]
55

66
[dependencies]
7-
itertools = "0.8"
7+
itertools = "0.10.0"
88
char-iter = "0.1"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,13 @@ println!("{:?} ", v);
387387

388388
## Itertools
389389

390-
The [itertools crate](https://docs.rs/itertools/0.6.0/itertools) contains powerful additional iterator adaptors. Below are some examples.
390+
The [itertools crate](https://docs.rs/itertools/0.10.0/itertools) contains powerful additional iterator adaptors. Below are some examples.
391391

392392
To use `itertools`, add the following to your `Cargo.toml`:
393393

394394
```toml
395395
[dependencies]
396-
itertools = "0.6"
396+
itertools = "0.10.0"
397397
```
398398

399399
The `unique()` adaptor eliminates duplicates from an iterator. The duplicates do not need to be sequential.

src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#[allow(unused_imports)]
2-
#[macro_use] extern crate itertools;
3-
extern crate char_iter;
42

3+
extern crate itertools;
4+
extern crate char_iter;
55
use itertools::Itertools;
6+
67
mod fahrtocelc;
78

89
fn main() {

0 commit comments

Comments
 (0)