Skip to content

CStr::from_bytes_with_nul_unchecked() incorrectly listed as const in docs #74579

Closed
@nwn

Description

@nwn

The documentation for CStr::from_bytes_with_nul_unchecked() lists it as a const fn, but its const-ness is still unstable (due to the rustc_const_unstable attribute and corroborated by the playground).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions