Skip to content

Commit

Permalink
Merge pull request #1364 from spencerwilson/patch-1
Browse files Browse the repository at this point in the history
comments: Fix typo: inner -> outer
  • Loading branch information
ehuss authored May 25, 2023
2 parents 553d99b + b1d0c5b commit e5ecb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Non-doc comments are interpreted as a form of whitespace.
## Doc comments

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

0 comments on commit e5ecb2d

Please sign in to comment.