Skip to content

Commit b87ab5c

Browse files
authored
Merge pull request #3076 from mbrubeck/patch-1
Remove incorrect note from string_add_assign docs
2 parents e0ad732 + 6a07036 commit b87ab5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/strings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ use crate::utils::{get_parent_expr, is_allowed, match_type, paths, span_lint, sp
99
/// `let`!).
1010
///
1111
/// **Why is this bad?** It's not really bad, but some people think that the
12-
/// `.push_str(_)` method is more readable. Also creates a new heap allocation and throws
13-
/// away the old one.
12+
/// `.push_str(_)` method is more readable.
1413
///
1514
/// **Known problems:** None.
1615
///

0 commit comments

Comments
 (0)