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

Remove redundant field names in struct init #526

Merged
merged 1 commit into from Jul 23, 2019

Commits on Jul 22, 2019

  1. Remove redundant field names in struct init

    Besides the obvious minimization, these changes avoid lints of the
    following form from clippy:
    
        warning: redundant field names in struct initialization
          --> src/form_urlencoded.rs:30:13
           |
        30 |     Parse { input: input }
           |             ^^^^^^^^^^^^ help: replace it with: `input`
           |
           = help: for further information visit
        https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
    dekellum committed Jul 22, 2019
    Copy the full SHA
    cce2d32 View commit details
    Browse the repository at this point in the history