mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
dcb4083ed9
Improve `Iterator::by_ref` example I split the example into two: one that fails to compile, and one that works. I also made them identical except for the addition of `by_ref` so we don't confuse readers with random differences. cc `@steveklabnik,` who is the one that added the previous version of this example |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |