Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Create AsciiStr from str using const fn  #84

Copy link
Copy link
@PatrickNorton

Description

@PatrickNorton
Issue body actions

Since mem::transmute will be const-stable in 1.56.0, it would be nice if there was a way to construct an AsciiStr (and AsciiString) at compile-time. Since the from_str function is in a trait, and thus cannot be const yet, we would probably need to add a new method for this.

CeleritasCelery, dzfranklin and Alch-Emi

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.