danielhenrymantilla / lending-iterator.rs

Lending iterators on stable Rust
https://docs.rs/lending-iterator
Apache License 2.0
78 stars 4 forks source link

Documentation lacks from_fn example #6

Closed Ben-Lichtman closed 2 years ago

Ben-Lichtman commented 2 years ago

The docmentation seems to indicate that there will be one example using from_fn and another using FromFn struct to construct the LendingIterator, however it only gives an example with FromFn...