Demote ControlFlow::{from|into}_try to pub(crate) by scottmcm · Pull Request #85645 · rust-lang/rust (original) (raw)

They have mediocre names and non-obvious semantics, so personally I don't think they're worth trying to stabilize, and thus might as well just be internal (they're used for convenience in iterator adapters), not something shown in the rustdocs.

I don't think anyone actually wanted to use them outside core -- they just got made public-but-unstable along with the whole type in #76204 that promoted LoopState from an internal type to the exposed ControlFlow type.

cc #75744, the tracking issue they mention.
cc #85608, the PR where I'm proposing stabilizing the type.