aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2020-12-12 17:27:09 +0000
committerJeremy Kolb <[email protected]>2020-12-12 17:27:09 +0000
commit26a1675764c9f96cc96d75d2129dd6c828b8df51 (patch)
treee53212d4569e73c7337bb205e937174f425fda5b /xtask/src
parent479d1f7eec22c3564867223e2093f14774092528 (diff)
Remove some redundant allocations
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/codegen/gen_assists_docs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/gen_assists_docs.rs b/xtask/src/codegen/gen_assists_docs.rs
index d7c85ebe9..be218dea1 100644
--- a/xtask/src/codegen/gen_assists_docs.rs
+++ b/xtask/src/codegen/gen_assists_docs.rs
@@ -134,7 +134,7 @@ r#####"
134 134
135 buf.push_str(&test) 135 buf.push_str(&test)
136 } 136 }
137 let buf = reformat(&buf.to_string())?; 137 let buf = reformat(&buf)?;
138 codegen::update(&project_root().join("crates/assists/src/tests/generated.rs"), &buf, mode) 138 codegen::update(&project_root().join("crates/assists/src/tests/generated.rs"), &buf, mode)
139} 139}
140 140