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

Add functions to allow constructing Attributes in a const context #817

Merged
merged 1 commit into from
Jan 6, 2024

Commits on Aug 31, 2023

  1. add functions to allow constructing Attributes in a const context

    Previously, the only ways to construct new `Attributes` values were
    `Attributes::default()` or `Attributes::from(_)`, neither of can be
    made `const fn` due to limitations of these standard library traits.
    kierdavis committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    8b61039 View commit details
    Browse the repository at this point in the history