summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorairt <airtial@gmail.com>2019-05-26 12:17:33 +0800
committerGitHub <noreply@github.com>2019-05-26 12:17:33 +0800
commitdbf8c6df9dc7f8ac0fe9b16f14f007d2f5bc4a5c (patch)
tree303ef548ded65d12038f4800da4f78f682e812d2 /src/doc/rustdoc
parent483567e097c7634afa745fe5c59abc0e75026385 (diff)
downloadrust-dbf8c6df9dc7f8ac0fe9b16f14f007d2f5bc4a5c.tar.gz
rust-dbf8c6df9dc7f8ac0fe9b16f14f007d2f5bc4a5c.zip
docs: fix typo #61197
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/the-doc-attribute.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/the-doc-attribute.md b/src/doc/rustdoc/src/the-doc-attribute.md
index b165c5a6b3b..80ac405eb2f 100644
--- a/src/doc/rustdoc/src/the-doc-attribute.md
+++ b/src/doc/rustdoc/src/the-doc-attribute.md
@@ -202,7 +202,7 @@ mod bar {
 Now we'll have a `Re-exports` line, and `Bar` will not link to anywhere.
 
 One special case: In Rust 2018 and later, if you `pub use` one of your dependencies, `rustdoc` will
-not eagerly inline it as a module unless you add `#[doc(inline)}`.
+not eagerly inline it as a module unless you add `#[doc(inline)]`.
 
 ## `#[doc(hidden)]`