Skip to content

Clearly note that unstable items in stable docs may be out of date #31204

Closed as not planned
@lifthrasiir

Description

@lifthrasiir

People seems to use the stable documentation to look for unstable items that are not available in the stable nevertheless. As per #25863 it is intentional, but then there remains a tough case of out-of-date documentation. In the IRC I have heard of one such example that the clone_from_slice method used to accept different slice lengths but since then updated to panic in such cases.

We cannot regenerate the stable documentation every time nightly updates, but we can probably link to the unstable documentation as the best effort. Something like this:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.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