diff options
author | Aleksey Kladov <[email protected]> | 2020-07-29 23:23:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-29 23:23:03 +0100 |
commit | 6636f56e79b55f22b88094b7edaed6ec88880500 (patch) | |
tree | d042009ea61be66aee1710070c09893447847c9d /crates/ra_syntax/src/ast/traits.rs | |
parent | 16caadb404de465d8ea1cb6a107740ef004f232b (diff) |
Rename ModuleItem -> Item
Diffstat (limited to 'crates/ra_syntax/src/ast/traits.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/traits.rs b/crates/ra_syntax/src/ast/traits.rs index a8f2454fd..9fe0b93c1 100644 --- a/crates/ra_syntax/src/ast/traits.rs +++ b/crates/ra_syntax/src/ast/traits.rs | |||
@@ -44,7 +44,7 @@ pub trait ArgListOwner: AstNode { | |||
44 | } | 44 | } |
45 | 45 | ||
46 | pub trait ModuleItemOwner: AstNode { | 46 | pub trait ModuleItemOwner: AstNode { |
47 | fn items(&self) -> AstChildren<ast::ModuleItem> { | 47 | fn items(&self) -> AstChildren<ast::Item> { |
48 | support::children(self.syntax()) | 48 | support::children(self.syntax()) |
49 | } | 49 | } |
50 | } | 50 | } |