Fix same_item_push.rs
This commit is contained in:
parent
527fb42a32
commit
6d73777224
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ pub(super) fn check<'tcx>(
|
|||
"it looks like the same item is being pushed into this Vec",
|
||||
None,
|
||||
&format!(
|
||||
"try using vec![{}; SIZE] or {}.resize(NEW_SIZE, {})",
|
||||
"try using vec![{};SIZE] or {}.resize(NEW_SIZE, {})",
|
||||
item_str, vec_str, item_str
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue