rust/library/core/src/char
Ian Douglas Scott a02639dc09 Implement TryFrom<char> for u8
Previously suggested in https://github.com/rust-lang/rfcs/issues/2854.

It makes sense to have this since `char` implements `From<u8>`. Likewise
`u32`, `u64`, and `u128` (since #79502) implement `From<char>`.
2022-01-07 12:28:47 -08:00
..
convert.rs Implement TryFrom<char> for u8 2022-01-07 12:28:47 -08:00
decode.rs Add #[must_use] to remaining core functions 2021-10-30 18:21:29 -04:00
methods.rs Turn all 0x1b_u8 into '\x1b' or b'\x1b' 2021-11-19 18:14:18 +01:00
mod.rs Implement TryFrom<char> for u8 2022-01-07 12:28:47 -08:00