Skip to content

Commit e44da34

Browse files
kyoto7250Serial-ATA
andcommitted
Update What it dose
Co-authored-by: Alex <[email protected]>
1 parent 26ef417 commit e44da34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnecessary_reserve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use rustc_span::sym;
99

1010
declare_clippy_lint! {
1111
/// ### What it does
12-
/// This lint checks for `reserve` before calling the `extend` method.
12+
/// This lint checks for a call to `reserve` before `extend` on a `Vec` or `VecDeque`.
1313
/// ### Why is this bad?
1414
/// vec::reserve method before vec::extend is no longer makes sense in rustc version >= 1.62
1515
/// ### Example

0 commit comments

Comments
 (0)