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

Clippy style #839

Merged
merged 2 commits into from Jan 10, 2024
Merged

Commits on Jan 10, 2024

  1. Use Self

    Two simple steps:
    - run `cargo clippy --fix -- -D clippy::use_self`
    - In `either_or_both`, remove `Self::` as glob use is quite convenient.
    
    https://rust-lang.github.io/rust-clippy/master/index.html#/use_self
    
    Co-Authored-By: Marcel Hellwig <ghpub@cookiesoft.de>
    Philippe-Cholet and hellow554 committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    6938a61 View commit details
    Browse the repository at this point in the history
  2. fix clippy::type_repetition_in_bounds

    https://rust-lang.github.io/rust-clippy/master/index.html#/type_repetition_in_bounds
    
    `CircularTupleWindows` even had a duplicate bound.
    
    Co-Authored-By: Marcel Hellwig <ghpub@cookiesoft.de>
    2 people authored and Philippe-Cholet committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    a638f83 View commit details
    Browse the repository at this point in the history