We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fec39 commit ecf3b3cCopy full SHA for ecf3b3c
xtask/src/lib.rs
@@ -53,6 +53,7 @@ fn reformat(text: impl std::fmt::Display) -> Result<String> {
53
write!(rustfmt.stdin.take().unwrap(), "{}", text)?;
54
let output = rustfmt.wait_with_output()?;
55
let stdout = String::from_utf8(output.stdout)?;
56
+ // TODO: update the preable: replace ra_tools with the relevant path
57
let preamble = "Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`";
58
Ok(format!("//! {}\n\n{}", preamble, stdout))
59
}
0 commit comments