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

Derive trivial is_bit_valid when possible #1303

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Commits on Oct 2, 2024

  1. Derive trivial is_bit_valid when possible

    When deriving `FromBytes` on a type with no generic parameters, the
    implied `TryFromBytes` derive's `is_bit_valid` impl is generated as
    always returning `true`. This is faster to codegen, is faster to
    compile, and is friendlier on the optimizer.
    
    Makes progress on #5
    joshlf committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e99b3ef View commit details
    Browse the repository at this point in the history