Improve compile time a tiny bit

This commit is contained in:
Aleksey Kladov 2020-10-16 19:47:47 +02:00
parent 4271e4c703
commit c7a079d32d
4 changed files with 13 additions and 10 deletions

View file

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