rust/library/core
Yuki Okushi dcb4083ed9
Rollup merge of #80805 - camelid:iter-by_ref-example, r=steveklabnik
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
2021-04-24 03:44:02 +09:00
..
benches add bench 2021-03-18 00:25:20 +01:00
src Rollup merge of #80805 - camelid:iter-by_ref-example, r=steveklabnik 2021-04-24 03:44:02 +09:00
tests Auto merge of #77704 - AnthonyMikh:slice_index_with_ops_bound_pair, r=m-ou-se 2021-04-22 15:36:27 +00:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00