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

Removed ~str pattern #12756

Closed
wants to merge 1 commit into from
Closed

Removed ~str pattern #12756

wants to merge 1 commit into from

Commits on Mar 12, 2014

  1. rustc: Remove matching on ~str from the language

    The `~str` type is not long for this world as it will be superseded by the
    soon-to-come DST changes for the language. The new type will be
    `~Str`, and matching over the allocation will no longer be supported.
    Matching on `&str` will continue to work, in both a pre and post DST world.
    pongad committed Mar 12, 2014
    5 Configuration menu
    Copy the full SHA
    f079c94 View commit details
    Browse the repository at this point in the history