diff options
| author | Kevin Butler <haqkrs@gmail.com> | 2015-10-24 20:00:58 +0100 |
|---|---|---|
| committer | Kevin Butler <haqkrs@gmail.com> | 2015-10-24 20:00:58 +0100 |
| commit | 315f76202f44d469c9fb38c1dc72b8d0663e14b3 (patch) | |
| tree | ff2292f35e6103cf5e6f959c181a3a709cb22d0e | |
| parent | 04e497c0056aed899cd6edbc98e7a68a9b391c5c (diff) | |
| download | rust-315f76202f44d469c9fb38c1dc72b8d0663e14b3.tar.gz rust-315f76202f44d469c9fb38c1dc72b8d0663e14b3.zip | |
Fix docattr to match surrounding text
As is, this attr would lead to the "///" prefix being in the output text
| -rw-r--r-- | src/doc/trpl/documentation.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/documentation.md b/src/doc/trpl/documentation.md index 1b4a2be96b5..1d266b4af77 100644 --- a/src/doc/trpl/documentation.md +++ b/src/doc/trpl/documentation.md @@ -518,7 +518,7 @@ are the same, as are these: ```rust //! this -#![doc="/// this"] +#![doc="this"] ``` You won't often see this attribute used for writing documentation, but it |
