Skip to content

Commit 1ec953f

Browse files
committed
do not truncate display for hover
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
1 parent 550c629 commit 1ec953f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ra_ide/src/hover.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ mod tests {
446446
}
447447

448448
#[test]
449-
fn hover_omits_default_generic_types() {
449+
fn hover_default_generic_types() {
450450
check_hover_result(
451451
r#"
452452
//- /main.rs
@@ -458,7 +458,7 @@ struct Test<K, T = u8> {
458458
fn main() {
459459
let zz<|> = Test { t: 23, k: 33 };
460460
}"#,
461-
&["Test<i32>"],
461+
&["Test<i32, u8>"],
462462
);
463463
}
464464

0 commit comments

Comments
 (0)