Skip to content

Commit 0b9edc7

Browse files
committed
Auto merge of #29280 - Ryman:bad_docattr, r=Manishearth
As is, this attr would lead to the "///" prefix being in the output text.
2 parents 7de9c4e + 315f762 commit 0b9edc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ are the same, as are these:
518518
```rust
519519
//! this
520520

521-
#![doc="/// this"]
521+
#![doc="this"]
522522
```
523523

524524
You won't often see this attribute used for writing documentation, but it

0 commit comments

Comments
 (0)