- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.9k
 
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-mediumMedium priorityMedium priority
Description
Stable: https://doc.rust-lang.org/core/macro.write.html
Nightly: https://doc.rust-lang.org/nightly/core/macro.write.html
Looks like the docs are shared between core and std, because of the implementation details. But, the problem is that the examples provided for the core macro won't be working in no_std setup.
I think it's better to either add a note about this or have accurate docs that would actually work. I can't think of a quick fix, though. Any ideas?
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-mediumMedium priorityMedium priority