Kimundi / owning-ref-rs

A library for creating references that carry their owner with them.
MIT License
361 stars 50 forks source link

Fix tests #43

Closed gyscos closed 6 years ago

gyscos commented 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.

Kimundi commented 6 years ago

Thanks for the contribution! Sorry for the lack of response, I had a busy year. :grimacing: