Skip to content

Public unstable feature="inplace_iteration" APIs without a tracking issue #85373

Closed
@SimonSapin

Description

@SimonSapin

The SourceIter and InPlaceIterable unstable traits are public, so they and their impls show up in docs. For example https://doc.rust-lang.org/1.52.1/std/iter/trait.InPlaceIterable.html. However unlike other unstable public APIs, there is no link to a tracking issue.

These traits were added by @the8472 in #70793. It’s not clear from the PR’s description if the traits are intended as private implementation details of the standard library that are only technically pub so that they can be used across multiple standard library crates, or if they are intended as a new public API with a possible path to eventual stabilization.

Source definitions of the traits and impls should either have #[doc(hidden)] attributes added, or a tracking issue should be filed and the #[unstable] attributes modified to point there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.Libs-SmallLibs issues that are considered "small" or self-containedT-libs-apiRelevant to the library API 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