We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
same_item_push.rs
1 parent 527fb42 commit 6d73777Copy full SHA for 6d73777
clippy_lints/src/loops/same_item_push.rs
@@ -32,7 +32,7 @@ pub(super) fn check<'tcx>(
32
"it looks like the same item is being pushed into this Vec",
33
None,
34
&format!(
35
- "try using vec![{}; SIZE] or {}.resize(NEW_SIZE, {})",
+ "try using vec![{};SIZE] or {}.resize(NEW_SIZE, {})",
36
item_str, vec_str, item_str
37
),
38
);
0 commit comments