Merge commit 'f51aade56f' into clippyup

This commit is contained in:
Jason Newcomb 2022-08-31 09:24:45 -04:00
parent 7ba06ec9c5
commit fb41bfa774
244 changed files with 9305 additions and 4024 deletions

View file

@ -7,13 +7,13 @@ extern crate macro_rules;
#[allow(clippy::string_add_assign, unused)]
fn main() {
// ignores assignment distinction
let mut x = "".to_owned();
let mut x = String::new();
for _ in 1..3 {
x = x + ".";
}
let y = "".to_owned();
let y = String::new();
let z = y + "...";
assert_eq!(&x, &z);