aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r--crates/ra_assists/src/ast_transform.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_assists/src/ast_transform.rs b/crates/ra_assists/src/ast_transform.rs
index 4001ca73c..18f3ec683 100644
--- a/crates/ra_assists/src/ast_transform.rs
+++ b/crates/ra_assists/src/ast_transform.rs
@@ -64,12 +64,11 @@ impl<'a> SubstituteTypeParams<'a> {
64 let default = k.default(source_scope.db)?; 64 let default = k.default(source_scope.db)?;
65 Some(( 65 Some((
66 k, 66 k,
67 ast::make::type_arg( 67 ast::make::type_ref(
68 &default 68 &default
69 .display_source_code(source_scope.db, source_scope.module()?.into()) 69 .display_source_code(source_scope.db, source_scope.module()?.into())
70 .ok()?, 70 .ok()?,
71 ) 71 )
72 .type_ref()?,
73 )) 72 ))
74 } 73 }
75 }) 74 })