Skip to content

Commit 78f38a2

Browse files
bors[bot]matklad
andcommitted
Merge #1091
1091: fix inner block doc comments r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 2d680ff + e7a4b96 commit 78f38a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_syntax/src/ast/tokens.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const COMMENT_PREFIX_TO_KIND: &[(&str, CommentKind)] = {
6666
("///", CommentKind { shape: Line, doc: Some(Outer) }),
6767
("//!", CommentKind { shape: Line, doc: Some(Inner) }),
6868
("/**", CommentKind { shape: Block, doc: Some(Outer) }),
69-
("/**", CommentKind { shape: Block, doc: Some(Inner) }),
69+
("/*!", CommentKind { shape: Block, doc: Some(Inner) }),
7070
("//", CommentKind { shape: Line, doc: None }),
7171
("/*", CommentKind { shape: Block, doc: None }),
7272
]

0 commit comments

Comments
 (0)