Remove some redundant allocations

This commit is contained in:
Jeremy Kolb 2020-12-12 12:27:09 -05:00
parent 479d1f7eec
commit 26a1675764
10 changed files with 9 additions and 10 deletions

View file

@ -134,7 +134,7 @@ r#####"
buf.push_str(&test)
}
let buf = reformat(&buf.to_string())?;
let buf = reformat(&buf)?;
codegen::update(&project_root().join("crates/assists/src/tests/generated.rs"), &buf, mode)
}