]> git.lizzy.rs Git - rust.git/commitdiff
Update gen.rs
authorChristopher Durham <cad97@cad97.com>
Sun, 28 Jan 2018 09:31:18 +0000 (04:31 -0500)
committerGitHub <noreply@github.com>
Sun, 28 Jan 2018 09:31:18 +0000 (04:31 -0500)
src/bin/gen.rs

index 89609bd77e61fbd04bbeb9e2d6e78bd982128493..e32f5044eafc310b038c7821d1f37d5c409c0082 100644 (file)
@@ -45,7 +45,6 @@ fn to_syntax_kinds(&self) -> String {
         // 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();