mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Merge pull request #3076 from mbrubeck/patch-1
Remove incorrect note from string_add_assign docs
This commit is contained in:
commit
b87ab5ccf2
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user