Skip to content

Use type dispatch instead of name-based dispatch #7

@thomcc

Description

@thomcc

Once const generics are more powerful, it should be possible to remove the hack we use to dispatch envparse::parse_env!("FOO" as <type>) to the correct parsing function, and replace it with real type-based dispatch.

This requires const fn on traits (rust-lang/rfcs#3490 or something equivalently powerful).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions