STRING_ADD example
This commit is contained in:
parent
4065702b1f
commit
16919143e4
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// Use instead:
|
||||
/// ```rust
|
||||
/// let x = "Hello".to_owned();
|
||||
/// let mut x = "Hello".to_owned();
|
||||
/// x.push_str(", World");
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue