day04 use itertools 'tuple_windows' instead of iter.zip(iter.skip(1))

This commit is contained in:
Johannes
2019-12-04 22:28:47 +01:00
parent 16ef84a36b
commit b61b382298
3 changed files with 27 additions and 6 deletions

View File

@@ -7,3 +7,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
itertools = "0.8.2"