aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
diff options
context:
space:
mode:
authorTimo Freiberg <[email protected]>2020-05-10 17:09:22 +0100
committerTimo Freiberg <[email protected]>2020-05-10 17:10:15 +0100
commitcbbbd4832582256820695bb73fdb4ca125f1b1f9 (patch)
tree1d223a7e9f995faa2188efd02115ec21cbaf3913 /crates/ra_assists
parent225f353aa26329260b8c7f69305f616a9edaad70 (diff)
Omit default types in HirDisplay SourceCode mode
Diffstat (limited to 'crates/ra_assists')
-rw-r--r--crates/ra_assists/src/handlers/add_explicit_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/handlers/add_explicit_type.rs b/crates/ra_assists/src/handlers/add_explicit_type.rs
index 146cc75df..7ced00626 100644
--- a/crates/ra_assists/src/handlers/add_explicit_type.rs
+++ b/crates/ra_assists/src/handlers/add_explicit_type.rs
@@ -209,7 +209,7 @@ struct Test<K, T = u8> {
209} 209}
210 210
211fn main() { 211fn main() {
212 let test<|>: Test<i32, u8> = Test { t: 23, k: 33 }; 212 let test<|>: Test<i32> = Test { t: 23, k: 33 };
213}"#, 213}"#,
214 ); 214 );
215 } 215 }