aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-09-03 11:23:08 +0100
committerGitHub <[email protected]>2020-09-03 11:23:08 +0100
commita000346ab2c5851b65eca601996933ba611d2d32 (patch)
tree131e97cbfb00a05592e3b2f50f27154b56cbb0e8 /crates/assists/src
parentd2c3832a8a95b7f00c201f1c98335412ff845afb (diff)
parent75b1f9ee23e1702901d08707689690308d74953d (diff)
Merge #5941
5941: Unify naming r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/assists/src')
-rw-r--r--crates/assists/src/ast_transform.rs2
1 files changed, 1 insertions, 1 deletions
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> {
166 .map(|arg_list| apply(self, arg_list)); 166 .map(|arg_list| apply(self, arg_list));
167 if let Some(type_args) = type_args { 167 if let Some(type_args) = type_args {
168 let last_segment = path.segment().unwrap(); 168 let last_segment = path.segment().unwrap();
169 path = path.with_segment(last_segment.with_type_args(type_args)) 169 path = path.with_segment(last_segment.with_generic_args(type_args))
170 } 170 }
171 171
172 Some(path.syntax().clone()) 172 Some(path.syntax().clone())