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.
1 parent 77022fc commit 6430628Copy full SHA for 6430628
clippy_lints/src/unnecessary_reserve.rs
@@ -9,7 +9,7 @@ use rustc_span::sym;
9
10
declare_clippy_lint! {
11
/// ### What it does
12
- /// This lint checks for `reserve` before calling the `extend` method.
+ /// This lint checks for a call to `reserve` before `extend` on a `Vec` or `VecDeque`.
13
/// ### Why is this bad?
14
/// vec::reserve method before vec::extend is no longer makes sense in rustc version >= 1.62
15
/// ### Example
0 commit comments