Skip to content

Commit c395aad

Browse files
committed
Merge #20
20: Drop `repr(u32)` from SyntaxKind r=matklad a=matklad Nomicon says it disables some optimizations: https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
2 parents bec9f09 + 169d5d3 commit c395aad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/syntax_kinds.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use tree::SyntaxInfo;
55

66
/// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`.
77
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
8-
#[repr(u32)]
98
pub enum SyntaxKind {
109
USE_KW,
1110
FN_KW,

0 commit comments

Comments
 (0)