fix inner block doc comments

This commit is contained in:
Aleksey Kladov 2019-04-02 14:42:47 +03:00
parent 2d680ff93a
commit e7a4b96d03

View File

@ -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 }),
]