Skip to content

Commit 64d422c

Browse files
author
Robin Kruppe
committed
Correct example doc attribute
1 parent d8d5a2f commit 64d422c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ comments beginning with exactly one repeated asterisk in the block-open
9191
sequence (`/**`), are interpreted as a special syntax for `doc`
9292
[attributes](#attributes). That is, they are equivalent to writing
9393
`#[doc="..."]` around the body of the comment (this includes the comment
94-
characters themselves, i.e. `/// Foo` turns into `#[doc="/// Foo"]`).
94+
characters themselves, i.e. `/// Foo` turns into `#[doc="Foo"]`).
9595

9696
Line comments beginning with `//!` and block comments beginning with `/*!` are
9797
doc comments that apply to the parent of the comment, rather than the item

0 commit comments

Comments
 (0)