Skip to content

Commit 9a36bc3

Browse files
committed
fix(completion): render fn type
1 parent ed216e2 commit 9a36bc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/ide-completion/src/render.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -837,11 +837,11 @@ fn main() {
837837
}
838838
"#,
839839
expect![[r#"
840-
fn main []
841-
fn test []
840+
fn main() []
841+
fn test(…) []
842842
md dep []
843843
fn function (use dep::test_mod_a::function) [requires_import]
844-
fn function (use dep::test_mod_b::function) [requires_import]
844+
fn function(…) (use dep::test_mod_b::function) [requires_import]
845845
"#]],
846846
);
847847
}

0 commit comments

Comments
 (0)