mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-14 21:16:50 +00:00
Merge #10428
10428: minor: regen r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
745fd9903c
File diff suppressed because it is too large
Load Diff
@ -318,7 +318,8 @@ fn generate_nodes(kinds: KindsSrc<'_>, grammar: &AstSrc) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res))
|
||||
let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
|
||||
res.replace("#[derive", "\n#[derive")
|
||||
}
|
||||
|
||||
fn write_doc_comment(contents: &[String], dest: &mut String) {
|
||||
|
Loading…
Reference in New Issue
Block a user