mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-28 06:14:22 +00:00
parent
b77a7e29a5
commit
fd394ff424
4 changed files with 32 additions and 35 deletions
|
@ -152,7 +152,7 @@ fn generate_ast(grammar: AstSrc<'_>) -> Result<String> {
|
|||
#(#enums)*
|
||||
};
|
||||
|
||||
let pretty = codegen::reformat(ast)?;
|
||||
let pretty = crate::reformat(ast)?;
|
||||
Ok(pretty)
|
||||
}
|
||||
|
||||
|
@ -265,7 +265,7 @@ fn generate_syntax_kinds(grammar: KindsSrc<'_>) -> Result<String> {
|
|||
}
|
||||
};
|
||||
|
||||
codegen::reformat(ast)
|
||||
crate::reformat(ast)
|
||||
}
|
||||
|
||||
fn to_upper_snake_case(s: &str) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue