about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-26 13:37:59 +0200
committerGitHub <noreply@github.com>2019-05-26 13:37:59 +0200
commite9933ee099042d005cdba395c1027802ba40cae9 (patch)
treebfc41015b324e35d47068b13f621520d23916106 /src
parentc3e1f99a6904dc09b6fbe2d66adecde6b72f98ec (diff)
parentdbf8c6df9dc7f8ac0fe9b16f14f007d2f5bc4a5c (diff)
Rollup merge of #61205 - airt:docs-fix-typo-#61197, r=Centril
docs: fix typo #61197

Fixes #61197

Change `#[doc(inline)}` to `#[doc(inline)]` in the [#[doc]](https://doc.rust-lang.org/rustdoc/the-doc-attribute.html) documentation.
Diffstat (limited to 'src')
-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)]`