From ecf3b3c9a1e9cd6a91412f0723a3107e65f92b91 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 17 Jan 2020 01:31:03 +0200 Subject: todo(codegen): added todo to change the reference to removed ra_tools crate --- xtask/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'xtask/src/lib.rs') 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 { write!(rustfmt.stdin.take().unwrap(), "{}", text)?; let output = rustfmt.wait_with_output()?; let stdout = String::from_utf8(output.stdout)?; + // TODO: update the preable: replace ra_tools with the relevant path let preamble = "Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`"; Ok(format!("//! {}\n\n{}", preamble, stdout)) } -- cgit v1.2.3