Skip to content

Commit 169d5d3

Browse files
committed
Drop repr(u32) from SyntaxKind
Nomicon says it disables some optimizations: https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
1 parent bec9f09 commit 169d5d3

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)