@@ -1,3 +1,5 @@
|
||||
//! FIXME: write short doc here
|
||||
|
||||
use std::process::Command;
|
||||
|
||||
use ra_tools::{project_root, run, run_rustfmt, Overwrite, Result};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! FIXME: write short doc here
|
||||
|
||||
use std::{
|
||||
collections::BTreeMap,
|
||||
fs,
|
||||
@@ -282,7 +284,7 @@ fn reformat(text: impl std::fmt::Display) -> Result<String> {
|
||||
let output = rustfmt.wait_with_output()?;
|
||||
let stdout = String::from_utf8(output.stdout)?;
|
||||
let preamble = "Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`";
|
||||
Ok(format!("// {}\n\n{}", preamble, stdout))
|
||||
Ok(format!("//! {}\n\n{}", preamble, stdout))
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! FIXME: write short doc here
|
||||
|
||||
pub const GLOBAL_HELP: &str = "tasks
|
||||
|
||||
USAGE:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! FIXME: write short doc here
|
||||
|
||||
mod boilerplate_gen;
|
||||
|
||||
use std::{
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! FIXME: write short doc here
|
||||
|
||||
mod help;
|
||||
|
||||
use core::fmt::Write;
|
||||
|
||||
Reference in New Issue
Block a user