diff options
author | Veetaha <[email protected]> | 2020-01-16 23:31:03 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-01-16 23:31:03 +0000 |
commit | ecf3b3c9a1e9cd6a91412f0723a3107e65f92b91 (patch) | |
tree | d2bc4f52819dd57ecfdb1c123a8c2552829f9650 | |
parent | 51fec39b825cfb91e42e7edb301b610e741af22c (diff) |
todo(codegen): added todo to change the reference to removed ra_tools crate
-rw-r--r-- | xtask/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 0a569cf5d..9b0afe8e0 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -53,6 +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 `crate/ra_tools/src/codegen`"; | 57 | let preamble = "Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`"; |
57 | Ok(format!("//! {}\n\n{}", preamble, stdout)) | 58 | Ok(format!("//! {}\n\n{}", preamble, stdout)) |
58 | } | 59 | } |