From 75b1f9ee23e1702901d08707689690308d74953d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 3 Sep 2020 12:18:46 +0200 Subject: Unify naming --- crates/assists/src/ast_transform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/assists') diff --git a/crates/assists/src/ast_transform.rs b/crates/assists/src/ast_transform.rs index 5216862ba..bbcd2d488 100644 --- a/crates/assists/src/ast_transform.rs +++ b/crates/assists/src/ast_transform.rs @@ -166,7 +166,7 @@ impl<'a> QualifyPaths<'a> { .map(|arg_list| apply(self, arg_list)); if let Some(type_args) = type_args { let last_segment = path.segment().unwrap(); - path = path.with_segment(last_segment.with_type_args(type_args)) + path = path.with_segment(last_segment.with_generic_args(type_args)) } Some(path.syntax().clone()) -- cgit v1.2.3