Rollup merge of #118979 - ChrisDenton:unwrap-const, r=Nilstrieb,dtolnay

Use `assert_unsafe_precondition` for `char::from_u32_unchecked`

Use `assert_unsafe_precondition` in `char::from_u32_unchecked` so that it can be stabilized as `const`.
This commit is contained in:
Matthias Krüger 2024-01-09 05:33:21 +01:00 committed by GitHub
commit 19111746c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available