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

Prefer `.cloned()` over `.map(|foo| foo.clone())` #7946

Closed

Commits on Oct 9, 2015

  1. Prefer `.cloned()` over `.map(|foo| foo.clone())`

    There are other combinations of map and clone in the code, but
    this commit only addresses the straightforward ones.
    
    Fixes 367.
    pierrechevalier83 committed Oct 9, 2015
You can’t perform that action at this time.