aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/grammar')
-rw-r--r--src/parser/grammar/items/traits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/items/traits.rs b/src/parser/grammar/items/traits.rs
index 3bef9639f..9961a88fe 100644
--- a/src/parser/grammar/items/traits.rs
+++ b/src/parser/grammar/items/traits.rs
@@ -3,7 +3,7 @@ use super::*;
3pub(super) fn trait_item(p: &mut Parser) { 3pub(super) fn trait_item(p: &mut Parser) {
4 assert!(p.at(TRAIT_KW)); 4 assert!(p.at(TRAIT_KW));
5 p.bump(); 5 p.bump();
6 p.expect(IDENT); 6 name(p);
7 p.expect(L_CURLY); 7 p.expect(L_CURLY);
8 p.expect(R_CURLY); 8 p.expect(R_CURLY);
9} 9}