Skip to content

Commit e5ecb2d

Browse files
authored
Merge pull request #1364 from spencerwilson/patch-1
comments: Fix typo: inner -> outer
2 parents 553d99b + b1d0c5b commit e5ecb2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comments.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Non-doc comments are interpreted as a form of whitespace.
4242
## Doc comments
4343

4444
Line doc comments beginning with exactly _three_ slashes (`///`), and block
45-
doc comments (`/** ... */`), both inner doc comments, are interpreted as a
45+
doc comments (`/** ... */`), both outer doc comments, are interpreted as a
4646
special syntax for [`doc` attributes]. That is, they are equivalent to writing
4747
`#[doc="..."]` around the body of the comment, i.e., `/// Foo` turns into
4848
`#[doc="Foo"]` and `/** Bar */` turns into `#[doc="Bar"]`.

0 commit comments

Comments
 (0)