mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Merge #1091
1091: fix inner block doc comments r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
78f38a20fd
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ const COMMENT_PREFIX_TO_KIND: &[(&str, CommentKind)] = {
|
||||||
("///", CommentKind { shape: Line, doc: Some(Outer) }),
|
("///", CommentKind { shape: Line, doc: Some(Outer) }),
|
||||||
("//!", CommentKind { shape: Line, doc: Some(Inner) }),
|
("//!", CommentKind { shape: Line, doc: Some(Inner) }),
|
||||||
("/**", CommentKind { shape: Block, doc: Some(Outer) }),
|
("/**", 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: Line, doc: None }),
|
||||||
("/*", CommentKind { shape: Block, doc: None }),
|
("/*", CommentKind { shape: Block, doc: None }),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue