Drop `repr(u32)` from SyntaxKind

Nomicon says it disables some optimizations:
https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
This commit is contained in:
Aleksey Kladov 2018-01-28 12:24:03 +03:00
parent bec9f09134
commit 169d5d371a
1 changed files with 0 additions and 1 deletions

View File

@ -5,7 +5,6 @@ use tree::SyntaxInfo;
/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[repr(u32)]
pub enum SyntaxKind {
USE_KW,
FN_KW,