Remove weird looking dashes#76849
Remove weird looking dashes#76849AMythicDev wants to merge 2 commits intorust-lang:masterfrom AMythicDev:master
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
I guess it was for "platform-specific" and "feature-specific", but it looked weird. Maybe an english native might have another idea on how to make it look less weird? cc @rust-lang/docs |
|
"Documenting platform- or feature-specific information" reads well to me. |
|
You could also just not refactor |
|
only tangentially related, but this entire section needs to be rewritten after #73566. |
|
It should probably be removed from |
I'll work on this. |
|
Opened #76855 |
|
I changed the line for a longer heading |
|
So let's rollup the PR |
- Move `cfg(doc)` out of `unstable-features`. It's not unstable. - Remove outdated reference to `everybody_loops`. - Improve wording in various places - Give an example of code this allows (and does not allow) - Link to `cfg(doc)` in `doc(cfg)` documentation. Since one is stable and the other is not, don't combine them. - Cleanup wording for `doc(cfg)` - Incorporate changes from rust-lang#76849 - Mention that `doc(cfg)` is also for features
Revamp rustdoc docs about documentation using `cfg` - Move `cfg(doc)` out of `unstable-features`. It's not unstable. - Remove outdated reference to `everybody_loops`. - Improve wording in various places - Give an example of code this allows (and does not allow) - Link to `cfg(doc)` in `doc(cfg)` documentation. Since one is stable and the other is not, don't combine them. - Cleanup wording for `doc(cfg)` - Incorporate changes from rust-lang#76849 - Mention that `doc(cfg)` is also for features Addresses rust-lang#76849 (comment). Obsoletes rust-lang#76849 (I made sure to fix the weird dashes too). r? @steveklabnik
Removed some weird looking dashes from the unstable book. It could look like to a newcomer that someone had made a typo while writing the docs