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

libsyntax: Remove ~self and mut ~self from the language. #15925

Closed
wants to merge 1 commit into from

Commits on Jul 23, 2014

  1. libsyntax: Remove ~self and mut ~self from the language.

    This eliminates the last vestige of the `~` syntax.
    
    Instead of `~self`, write `self: Box<TypeOfSelf>`; instead of `mut
    ~self`, write `mut self: Box<TypeOfSelf>`, replacing `TypeOfSelf` with
    the self-type parameter as specified in the implementation.
    
    Closes rust-lang#13885.
    
    [breaking-change]
    pcwalton committed Jul 23, 2014
    Configuration menu
    Copy the full SHA
    07f3f13 View commit details
    Browse the repository at this point in the history