From e7a4b96d030179e936ed6580db9f2391dbd78ca8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 2 Apr 2019 14:42:47 +0300 Subject: fix inner block doc comments --- crates/ra_syntax/src/ast/tokens.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/ast') diff --git a/crates/ra_syntax/src/ast/tokens.rs b/crates/ra_syntax/src/ast/tokens.rs index da7d507bf..08882ea69 100644 --- a/crates/ra_syntax/src/ast/tokens.rs +++ b/crates/ra_syntax/src/ast/tokens.rs @@ -66,7 +66,7 @@ const COMMENT_PREFIX_TO_KIND: &[(&str, CommentKind)] = { ("///", CommentKind { shape: Line, doc: Some(Outer) }), ("//!", CommentKind { shape: Line, doc: Some(Inner) }), ("/**", CommentKind { shape: Block, doc: Some(Outer) }), - ("/**", CommentKind { shape: Block, doc: Some(Inner) }), + ("/*!", CommentKind { shape: Block, doc: Some(Inner) }), ("//", CommentKind { shape: Line, doc: None }), ("/*", CommentKind { shape: Block, doc: None }), ] -- cgit v1.2.3