Skip to content

Commit cf56250

Browse files
Update clippy_lints/src/unnecessary_reserve.rs
Co-authored-by: Alex <[email protected]>
1 parent fa005fb commit cf56250

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
@@ -65,7 +65,7 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryReserve {
6565
cx,
6666
UNNECESSARY_RESERVE,
6767
next_stmt_span,
68-
"this `reserve` no longer makes sense in rustc version >= 1.62",
68+
"unnecessary call to `reserve`",
6969
|diag| {
7070
diag.span_suggestion(
7171
semi_expr.span,

0 commit comments

Comments
 (0)