Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor typo in #[doc] attribute documentation #61197

Closed
OptimisticPeach opened this issue May 25, 2019 · 0 comments · Fixed by #61205
Closed

Minor typo in #[doc] attribute documentation #61197

OptimisticPeach opened this issue May 25, 2019 · 0 comments · Fixed by #61205
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@OptimisticPeach
Copy link
Contributor

Hi there!
I was reading the #[doc] documentation, and came across the following typo:

#[doc(inline)}

There is a curly brace instead of a square bracket. It can be found at the very bottom of #[doc(no_inline)]/#[doc(inline)].

@jonas-schievink jonas-schievink added C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels May 25, 2019
Centril added a commit to Centril/rust that referenced this issue May 26, 2019
… r=Centril

docs: fix typo rust-lang#61197

Fixes rust-lang#61197

Change `#[doc(inline)}` to `#[doc(inline)]` in the [#[doc]](https://doc.rust-lang.org/rustdoc/the-doc-attribute.html) documentation.
bors added a commit that referenced this issue May 26, 2019
Rollup of 4 pull requests

Successful merges:

 - #61077 (Don't arena-allocate static symbols.)
 - #61102 (Move path for iterate)
 - #61120 (Make eval_place iterate instead of recurse)
 - #61205 (docs: fix typo #61197)

Failed merges:

r? @ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants