diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-12 17:29:20 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-12 17:29:20 +0000 |
commit | 10f633283180d513138d0d969eceba96e3ce9f96 (patch) | |
tree | e53212d4569e73c7337bb205e937174f425fda5b /xtask/src | |
parent | 479d1f7eec22c3564867223e2093f14774092528 (diff) | |
parent | 26a1675764c9f96cc96d75d2129dd6c828b8df51 (diff) |
Merge #6846
6846: Remove some redundant allocations r=kjeremy a=kjeremy
Co-authored-by: Jeremy Kolb <[email protected]>
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/codegen/gen_assists_docs.rs | 2 |
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 | ||