diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-09 08:51:56 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-09 08:51:56 +0000 |
commit | 27964cc9e71519ce8e2e0f8bdac76869882f7d8a (patch) | |
tree | f243ea58e6e9f7ff92bd81775cb931c6798ea9ee /xtask | |
parent | 3e1d97790be166f8735607c552a94a28ab9b09b8 (diff) | |
parent | 740a26b7d26a68cc46becda3cca39091e8da67fc (diff) |
Merge #3052
3052: Rename add import assist r=matklad a=SomeoneToIgnore
Based on the https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/2.20assists.20with.20the.20same.20action.20name/near/187655643 and the related discussion.
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 9b0afe8e0..8fdf43e4a 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -53,8 +53,7 @@ fn reformat(text: impl std::fmt::Display) -> Result<String> { | |||
53 | write!(rustfmt.stdin.take().unwrap(), "{}", text)?; | 53 | write!(rustfmt.stdin.take().unwrap(), "{}", text)?; |
54 | let output = rustfmt.wait_with_output()?; | 54 | let output = rustfmt.wait_with_output()?; |
55 | let stdout = String::from_utf8(output.stdout)?; | 55 | let stdout = String::from_utf8(output.stdout)?; |
56 | // TODO: update the preable: replace ra_tools with the relevant path | 56 | let preamble = "Generated file, do not edit by hand, see `xtask/src/codegen`"; |
57 | let preamble = "Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`"; | ||
58 | Ok(format!("//! {}\n\n{}", preamble, stdout)) | 57 | Ok(format!("//! {}\n\n{}", preamble, stdout)) |
59 | } | 58 | } |
60 | 59 | ||