Skip to content

const fn support (e.g. for constructors) #493

@tarcieri

Description

@tarcieri

From scalar.rs:

XXX This is pub(crate) so we can write literal constants. If const fns were stable, we could
make the Scalar constructors const fns and use those instead.

This now possible after the MSRV bump.

I wouldn't consider it a release blocker though. Functions can always be made const fn later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions