Skip to content

Commit

Permalink
Merge pull request rust-lang#3076 from mbrubeck/patch-1
Browse files Browse the repository at this point in the history
Remove incorrect note from string_add_assign docs
  • Loading branch information
phansch committed Aug 29, 2018
2 parents e0ad732 + 6a07036 commit b87ab5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clippy_lints/src/strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ use crate::utils::{get_parent_expr, is_allowed, match_type, paths, span_lint, sp
/// `let`!).
///
/// **Why is this bad?** It's not really bad, but some people think that the
/// `.push_str(_)` method is more readable. Also creates a new heap allocation and throws
/// away the old one.
/// `.push_str(_)` method is more readable.
///
/// **Known problems:** None.
///
Expand Down

0 comments on commit b87ab5c

Please sign in to comment.