about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-01-07 17:29:27 -0800
committerCamelid <camelidcamel@gmail.com>2021-01-07 17:41:40 -0800
commitf7558991adcdf15f1cb1093810c8b05894b12dd3 (patch)
tree8fd50b2be3b96877d0a68ff380abf38b04ec7f82 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
parentc8915eebeaaef9f7cc1cff6ffd97f578b03c2ac9 (diff)
downloadrust-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