21: Apply #20 to generating code r=CAD97 a=CAD97
This commit is contained in:
bors[bot] 2018-01-28 09:36:12 +00:00
commit eafb9c3ab4
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ impl Grammar {
// enum SyntaxKind
acc.push_str("/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.\n");
acc.push_str("#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]\n");
acc.push_str("#[repr(u32)]\n");
acc.push_str("pub enum SyntaxKind {\n");
for kind in syntax_kinds.iter() {
write!(acc, " {},\n", scream(kind)).unwrap();