Skip to content

Commit 315f762

Browse files
committed
Fix docattr to match surrounding text
As is, this attr would lead to the "///" prefix being in the output text
1 parent 04e497c commit 315f762

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)