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

wrong_self_convention: fix lint in case of to_*_mut method #6828

Merged

Commits on Mar 12, 2021

  1. wrong_self_convention: fix lint in case of to_*_mut method

    When a method starts with `to_` and ends with `_mut`, it should expect a `&mut self` parameter,
    otherwise `&self`.
    mgacek8 committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    2547edb View commit details
    Browse the repository at this point in the history