diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-01-28 09:28:45 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-01-28 09:28:45 +0000 |
commit | fde9d3ca43d57f78e3df02d7fe9bcf0e08c9c117 (patch) | |
tree | d79aee0ea2a31134d45e777589f480445f5f2bf1 | |
parent | bec9f091348386a38489110a26b279f752163034 (diff) | |
parent | 169d5d371a17f3d6f9f9c31f35b62e629b04e78c (diff) |
Merge #20
20: Drop `repr(u32)` from SyntaxKind r=CAD97 a=matklad
Nomicon says it disables some optimizations:
https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
-rw-r--r-- | src/syntax_kinds.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index cc9e74f8e..23a0881b7 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs | |||
@@ -5,7 +5,6 @@ use tree::SyntaxInfo; | |||
5 | 5 | ||
6 | /// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`. | 6 | /// The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`. |
7 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] | 7 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] |
8 | #[repr(u32)] | ||
9 | pub enum SyntaxKind { | 8 | pub enum SyntaxKind { |
10 | USE_KW, | 9 | USE_KW, |
11 | FN_KW, | 10 | FN_KW, |