diff --git a/crates/ra_ide/src/typing.rs b/crates/ra_ide/src/typing.rs index e5d1779fdc..7f1b9150f9 100644 --- a/crates/ra_ide/src/typing.rs +++ b/crates/ra_ide/src/typing.rs @@ -42,7 +42,7 @@ pub(crate) fn on_enter(db: &RootDatabase, position: FilePosition) -> Option me let x = 1 + 1; } +", + ); + do_check( + r" +///<|> Some docs +fn foo() { +} +", + r" +/// +/// <|> Some docs +fn foo() { +} ", ); do_check_noop(