Skip to content

Docs for Macro core::write are not applicable to no_std #45797

Closed
@behnam

Description

@behnam

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

No one assigned

    Labels

    A-docsArea: 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.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions