Closed gyscos closed 6 years ago
Lifetime inference does not work here, we need to define the lifetimes. But we can't do that with closures (https://github.com/rust-lang/rust/issues/22340) so we use a function instead.
Thanks for the contribution! Sorry for the lack of response, I had a busy year. :grimacing:
Lifetime inference does not work here, we need to define the lifetimes. But we can't do that with closures (https://github.com/rust-lang/rust/issues/22340) so we use a function instead.