diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-01-07 17:29:27 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-01-07 17:41:40 -0800 |
| commit | f7558991adcdf15f1cb1093810c8b05894b12dd3 (patch) | |
| tree | 8fd50b2be3b96877d0a68ff380abf38b04ec7f82 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff | |
| parent | c8915eebeaaef9f7cc1cff6ffd97f578b03c2ac9 (diff) | |
| download | rust-f7558991adcdf15f1cb1093810c8b05894b12dd3.tar.gz rust-f7558991adcdf15f1cb1093810c8b05894b12dd3.zip | |
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.
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions
