mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 21:47:36 +00:00
![]() Demote `ControlFlow::{from|into}_try` to `pub(crate)` 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 https://github.com/rust-lang/rust/pull/76204 that promoted `LoopState` from an internal type to the exposed `ControlFlow` type. cc https://github.com/rust-lang/rust/issues/75744, the tracking issue they mention. cc https://github.com/rust-lang/rust/pull/85608, the PR where I'm proposing stabilizing the type. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |