Johannes a0509342ae day01-2 use scan with tuple expansion
The previous problem with this was, that I tried returning
"Some((Ref<i32>, _))" from the lambda. That caused the compiler to complain
about the lifetime of the `current` value, since I tried passing on the Ref
instead of the encapsulated value.
2018-12-01 18:19:07 +01:00
2018-12-01 10:03:12 +01:00
2018-12-01 18:19:07 +01:00
2018-12-01 10:03:12 +01:00
2018-12-01 10:03:12 +01:00
2018-12-01 10:03:12 +01:00
Description
Advent Of Code - 2018 Rust
396 KiB
Languages
Rust 100%