10428: minor: regen r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2021-10-02 12:20:45 +00:00 committed by GitHub
commit 745fd9903c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 151 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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) {