Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TryFrom<char> for u8 #84640

Merged
merged 1 commit into from
Jan 8, 2022
Merged

Implement TryFrom<char> for u8 #84640

merged 1 commit into from
Jan 8, 2022

Commits on Jan 7, 2022

  1. Implement TryFrom<char> for u8

    Previously suggested in rust-lang/rfcs#2854.
    
    It makes sense to have this since `char` implements `From<u8>`. Likewise
    `u32`, `u64`, and `u128` (since rust-lang#79502) implement `From<char>`.
    ids1024 committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    a02639d View commit details
    Browse the repository at this point in the history