diff options
Diffstat (limited to 'crates/ra_syntax/src/ast/traits.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/traits.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/ast/traits.rs b/crates/ra_syntax/src/ast/traits.rs index 9fe0b93c1..113bd5d82 100644 --- a/crates/ra_syntax/src/ast/traits.rs +++ b/crates/ra_syntax/src/ast/traits.rs | |||
@@ -49,8 +49,8 @@ pub trait ModuleItemOwner: AstNode { | |||
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
52 | pub trait TypeParamsOwner: AstNode { | 52 | pub trait GenericParamsOwner: AstNode { |
53 | fn type_param_list(&self) -> Option<ast::TypeParamList> { | 53 | fn generic_param_list(&self) -> Option<ast::GenericParamList> { |
54 | support::child(self.syntax()) | 54 | support::child(self.syntax()) |
55 | } | 55 | } |
56 | 56 | ||