diff options
author | Timo Freiberg <[email protected]> | 2020-05-10 17:09:22 +0100 |
---|---|---|
committer | Timo Freiberg <[email protected]> | 2020-05-10 17:10:15 +0100 |
commit | cbbbd4832582256820695bb73fdb4ca125f1b1f9 (patch) | |
tree | 1d223a7e9f995faa2188efd02115ec21cbaf3913 /crates/ra_assists | |
parent | 225f353aa26329260b8c7f69305f616a9edaad70 (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.rs | 2 |
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 | ||
211 | fn main() { | 211 | fn 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 | } |