From 315f76202f44d469c9fb38c1dc72b8d0663e14b3 Mon Sep 17 00:00:00 2001 From: Kevin Butler Date: Sat, 24 Oct 2015 20:00:58 +0100 Subject: [PATCH] Fix docattr to match surrounding text As is, this attr would lead to the "///" prefix being in the output text --- src/doc/trpl/documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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