Skip to content

Commit 768cb76

Browse files
authored
Merge pull request rust-lang#112 from brauliobz/grammar_comments
Inner and outer docs/comments were swapped
2 parents e1ea48a + 12fd8cf commit 768cb76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/comments.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
>    | `/**/`
1212
>    | `/***/`
1313
>
14-
> OUTER_LINE_DOC :
14+
> INNER_LINE_DOC :
1515
> &nbsp;&nbsp; `//!` ~[`\n` _IsolatedCR_]<sup>\*</sup>
1616
>
17-
> OUTER_BLOCK_DOC :
17+
> INNER_BLOCK_DOC :
1818
> &nbsp;&nbsp; `/*!` ( _BlockCommentOrDoc_ | ~[`*/` _IsolatedCR_] )<sup>\*</sup> `*/`
1919
>
20-
> INNER_LINE_DOC :
20+
> OUTER_LINE_DOC :
2121
> &nbsp;&nbsp; `///` (~`/` ~[`\n` _IsolatedCR_]<sup>\*</sup>)<sup>?</sup>
2222
>
23-
> INNER_BLOCK_DOC :
23+
> OUTER_BLOCK_DOC :
2424
> &nbsp;&nbsp; `/**` (~`*` | _BlockCommentOrDoc_ )
2525
> (_BlockCommentOrDoc_ | ~[`*/` _IsolatedCR_])<sup>\*</sup> `*/`
2626
>

0 commit comments

Comments
 (0)