-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Clarification of terms #70898
Comments
Could compiltest be a simple typo? (There's the |
|
…=steveklabnik Fix typo "compiltest" Part of rust-lang#70898.
It looks like blocks are being "annotated" with "directives" and "attributes", where:
So I don't think much needs to be changed, unless this needs to be made more explicit somehow. |
I can understand and relate with the Rust already defines Getting back to the documentation, the text details So, I suggest to:
PS - O wrote more to explaining the rational of my suggestion, than I'll have to write to eventually fix this issue, if you all agree ofc. 😅 |
Clarify terms in rustdoc book Fixes rust-lang#70898 I chose to completely remove the term directive over attribute because rustdoc has a lint called `invalid_codeblock_attributes` and the term attributes is used throughout the book. I slightly changed the introductory sentence to describe the relationship between annotations and attributes. I also moved the text explaining the example from below the blocks to above the blocks which is more in line with the rest of the book. I also changed the description for the `should_panic` attribute as I found it a little confusing. Finally, some of the blocks were `text` and some were `rust` so I changed them all to `text` which is in line with the rest of the book.
Clarify terms in rustdoc book Fixes rust-lang#70898 I chose to completely remove the term directive over attribute because rustdoc has a lint called `invalid_codeblock_attributes` and the term attributes is used throughout the book. I slightly changed the introductory sentence to describe the relationship between annotations and attributes. I also moved the text explaining the example from below the blocks to above the blocks which is more in line with the rest of the book. I also changed the description for the `should_panic` attribute as I found it a little confusing. Finally, some of the blocks were `text` and some were `rust` so I changed them all to `text` which is in line with the rest of the book.
The
rustdoc
documentation mentions a number of terms which I haven't found the definitions for. Might it be that they are either undefined or defined elsewhere?The text was updated successfully, but these errors were encountered: