diff options
| author | Eric Huss <eric@huss.org> | 2022-01-07 20:20:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 20:20:55 -0800 |
| commit | 83de77dd5e2b853b95a12ac8c6cc202eec81892b (patch) | |
| tree | 57928649c0153e1430b43c8321f382440156a168 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | e012a191d768adeda1ee36a99ef8b92d51920154 (diff) | |
| parent | a02639dc09fa0cde2cec73e6260d6702e165b8ce (diff) | |
| download | rust-83de77dd5e2b853b95a12ac8c6cc202eec81892b.tar.gz rust-83de77dd5e2b853b95a12ac8c6cc202eec81892b.zip | |
Rollup merge of #84640 - ids1024:u8_from_char, r=m-ou-se
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>`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
