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

Use slicing syntax instead of methods and add a feature gate #17620

Closed
wants to merge 4 commits into from

Commits on Oct 2, 2014

  1. Configuration menu
    Copy the full SHA
    40b9f5d View commit details
    Browse the repository at this point in the history
  2. Remove the _ suffix from slice methods.

    Deprecates slicing methods from ImmutableSlice/MutableSlice in favour of slicing syntax or the methods in Slice/SliceMut.
    
    Closes rust-lang#17273.
    nrc committed Oct 2, 2014
    Configuration menu
    Copy the full SHA
    df2f1fa View commit details
    Browse the repository at this point in the history
  3. Put slicing syntax behind a feature gate.

    [breaking-change]
    
    If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
    nrc committed Oct 2, 2014
    Configuration menu
    Copy the full SHA
    95cfc35 View commit details
    Browse the repository at this point in the history
  4. Review and rebasing changes

    nrc committed Oct 2, 2014
    5 Configuration menu
    Copy the full SHA
    6e0611a View commit details
    Browse the repository at this point in the history