about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorIan Douglas Scott <ian@iandouglasscott.com>2021-04-27 21:05:26 -0700
committerIan Douglas Scott <idscott@system76.com>2022-01-07 12:28:47 -0800
commita02639dc09fa0cde2cec73e6260d6702e165b8ce (patch)
tree57928649c0153e1430b43c8321f382440156a168 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parente012a191d768adeda1ee36a99ef8b92d51920154 (diff)
downloadrust-a02639dc09fa0cde2cec73e6260d6702e165b8ce.tar.gz
rust-a02639dc09fa0cde2cec73e6260d6702e165b8ce.zip
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