mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
STRING_ADD example
This commit is contained in:
parent
4065702b1f
commit
16919143e4
@ -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…
Reference in New Issue
Block a user