Rename add import assist

This commit is contained in:
Kirill Bulatov 2020-02-07 23:35:34 +02:00
parent 5397f05bfe
commit 740a26b7d2
9 changed files with 96 additions and 104 deletions

View file

@ -53,8 +53,7 @@ fn reformat(text: impl std::fmt::Display) -> Result<String> {
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`";
let preamble = "Generated file, do not edit by hand, see `xtask/src/codegen`";
Ok(format!("//! {}\n\n{}", preamble, stdout))
}