Merge pull request #3076 from mbrubeck/patch-1

Remove incorrect note from string_add_assign docs
This commit is contained in:
Philipp Hansch 2018-08-29 20:09:38 +01:00 committed by GitHub
commit b87ab5ccf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
///