STRING_ADD example

This commit is contained in:
alexey semenyuk 2022-06-26 08:36:50 +00:00 committed by GitHub
parent 4065702b1f
commit 16919143e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]