Skip to content

Commit fa005fb

Browse files
Update warn message
Co-authored-by: Alex <[email protected]>
1 parent de1622f commit fa005fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnecessary_reserve.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ declare_clippy_lint! {
2929
#[clippy::version = "1.64.0"]
3030
pub UNNECESSARY_RESERVE,
3131
pedantic,
32-
"`reserve` before `extend` no longer makes sense in rustc version >= 1.62"
32+
"calling `reserve` before `extend` on a `Vec` or `VecDeque`, when it will be called implicitly"
3333
}
3434

3535
pub struct UnnecessaryReserve {

0 commit comments

Comments
 (0)