diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:34:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:34:02 +0100 |
commit | 1d95f34e9a1b2b7cebf44e38238b50a693d3394b (patch) | |
tree | 64c16a9a81c7cad22b897d3a21895592083cf527 /crates/libsyntax2/src/grammar/items/traits.rs | |
parent | d642c486164632545d93c204c3ba2377207b6c83 (diff) |
More renames
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/traits.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/items/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/items/traits.rs b/crates/libsyntax2/src/grammar/items/traits.rs index 0b9fb2b0b..53a636f6c 100644 --- a/crates/libsyntax2/src/grammar/items/traits.rs +++ b/crates/libsyntax2/src/grammar/items/traits.rs | |||
@@ -2,7 +2,7 @@ use super::*; | |||
2 | 2 | ||
3 | // test trait_item | 3 | // test trait_item |
4 | // trait T<U>: Hash + Clone where U: Copy {} | 4 | // trait T<U>: Hash + Clone where U: Copy {} |
5 | pub(super) fn trait_item(p: &mut Parser) { | 5 | pub(super) fn trait_def(p: &mut Parser) { |
6 | assert!(p.at(TRAIT_KW)); | 6 | assert!(p.at(TRAIT_KW)); |
7 | p.bump(); | 7 | p.bump(); |
8 | name(p); | 8 | name(p); |