From 28ef4c375a9f56d69daf885504aea3df7012bb81 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 15:36:21 +0200 Subject: Rename TypeParamList -> GenericParamList --- crates/ra_syntax/src/ast/traits.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax/src/ast/traits.rs') 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 { } } -pub trait TypeParamsOwner: AstNode { - fn type_param_list(&self) -> Option { +pub trait GenericParamsOwner: AstNode { + fn generic_param_list(&self) -> Option { support::child(self.syntax()) } -- cgit v1.2.3