Skip to content

Commit e9933ee

Browse files
authored
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.
2 parents c3e1f99 + dbf8c6d commit e9933ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustdoc/src/the-doc-attribute.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ mod bar {
202202
Now we'll have a `Re-exports` line, and `Bar` will not link to anywhere.
203203

204204
One special case: In Rust 2018 and later, if you `pub use` one of your dependencies, `rustdoc` will
205-
not eagerly inline it as a module unless you add `#[doc(inline)}`.
205+
not eagerly inline it as a module unless you add `#[doc(inline)]`.
206206

207207
## `#[doc(hidden)]`
208208

0 commit comments

Comments
 (0)