diff options
author | Florian Diebold <[email protected]> | 2018-12-30 17:38:44 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-01-04 18:15:15 +0000 |
commit | bb029cd29b8496e69ca625fabc3612e4c1fe9142 (patch) | |
tree | 013656405418484f1a397ebe1852e392dca8b003 /crates/ra_syntax/src/grammar/items.rs | |
parent | 0ad13b9477fc6b15cbfbd521a79ea97bc0e79953 (diff) |
Rename traits::impl_item -> impl_block as well, as well as the tests
Diffstat (limited to 'crates/ra_syntax/src/grammar/items.rs')
-rw-r--r-- | crates/ra_syntax/src/grammar/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/items.rs b/crates/ra_syntax/src/grammar/items.rs index b9a00b565..265e84570 100644 --- a/crates/ra_syntax/src/grammar/items.rs +++ b/crates/ra_syntax/src/grammar/items.rs | |||
@@ -151,7 +151,7 @@ pub(super) fn maybe_item(p: &mut Parser, flavor: ItemFlavor) -> MaybeItem { | |||
151 | // test unsafe_default_impl | 151 | // test unsafe_default_impl |
152 | // unsafe default impl Foo {} | 152 | // unsafe default impl Foo {} |
153 | IMPL_KW => { | 153 | IMPL_KW => { |
154 | traits::impl_item(p); | 154 | traits::impl_block(p); |
155 | IMPL_BLOCK | 155 | IMPL_BLOCK |
156 | } | 156 | } |
157 | _ => { | 157 | _ => { |