about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-27 13:34:47 +0000
committerbors <bors@rust-lang.org>2019-01-27 13:34:47 +0000
commit62f40e28b9b4e44d683ca2508b1bd9e637d2df38 (patch)
tree237dff896856b7dd85e1d69997b1dc6bfe75832f /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent13421e3945a28dad49226c4d08986eaacd1033d9 (diff)
parent14e27f567a59ee31bf5250e0b839e25f3730ea5e (diff)
downloadrust-62f40e28b9b4e44d683ca2508b1bd9e637d2df38.tar.gz
rust-62f40e28b9b4e44d683ca2508b1bd9e637d2df38.zip
Auto merge of #3706 - robamler:patch-1, r=phansch
Fix documentation for `slow_vector_initialization`

This PR fixes the documentation for the lint `slow_vector_initialization`. The documentation recommended writing `vec![len; 0]` but the correct solution is `vec![0; len]`.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions