mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
db592253a6
Stabilize `hint::assert_unchecked` Make the following API stable, including const: ```rust // core::hint, std::hint pub const unsafe fn assert_unchecked(p: bool); ``` This PR also reworks some of the documentation and adds an example. Tracking issue: https://github.com/rust-lang/rust/issues/119131 FCP: https://github.com/rust-lang/rust/issues/119131#issuecomment-1906394087. The docs update should resolve the remaining concern. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |