aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-04-02 12:43:15 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-04-02 12:43:15 +0100
commit78f38a20fd53ccab18b1c4b7dda217b5bfb61c8f (patch)
treef9ff81aba655f412be868a6e644f28fa9dd1c677 /crates/ra_syntax/src
parent2d680ff93aa30a52ffe40bb7d359e19565dca733 (diff)
parente7a4b96d030179e936ed6580db9f2391dbd78ca8 (diff)
Merge #1091
1091: fix inner block doc comments r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/ast/tokens.rs2
1 files changed, 1 insertions, 1 deletions
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)] = {
66 ("///", CommentKind { shape: Line, doc: Some(Outer) }), 66 ("///", CommentKind { shape: Line, doc: Some(Outer) }),
67 ("//!", CommentKind { shape: Line, doc: Some(Inner) }), 67 ("//!", CommentKind { shape: Line, doc: Some(Inner) }),
68 ("/**", CommentKind { shape: Block, doc: Some(Outer) }), 68 ("/**", CommentKind { shape: Block, doc: Some(Outer) }),
69 ("/**", CommentKind { shape: Block, doc: Some(Inner) }), 69 ("/*!", CommentKind { shape: Block, doc: Some(Inner) }),
70 ("//", CommentKind { shape: Line, doc: None }), 70 ("//", CommentKind { shape: Line, doc: None }),
71 ("/*", CommentKind { shape: Block, doc: None }), 71 ("/*", CommentKind { shape: Block, doc: None }),
72 ] 72 ]