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

Map clone #22276

Closed
wants to merge 4 commits into from
Closed

Map clone #22276

wants to merge 4 commits into from

Commits on Feb 13, 2015

  1. Replace map(|x| *x) with cloned().

    This partially resolves rust-lang#22243.
    ruuda committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    c6a647a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c7cb8b View commit details
    Browse the repository at this point in the history
  3. Replace map(|x| (*x).clone()) with cloned().

    This resolves rust-lang#22243, at least for one-letter variable names.
    ruuda committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    539866b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c9ad0d1 View commit details
    Browse the repository at this point in the history