Skip to content

Commit

Permalink
Rollup merge of #61205 - airt:docs-fix-typo-#61197, r=Centril
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Centril authored May 26, 2019
2 parents c3e1f99 + dbf8c6d commit e9933ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustdoc/src/the-doc-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]`

Expand Down

0 comments on commit e9933ee

Please sign in to comment.