We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26ef417 commit e44da34Copy full SHA for e44da34
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