Skip to content

redundant_field_names suggests not changing anything #3005

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

Closed
isonmad opened this issue Aug 5, 2018 · 1 comment
Closed

redundant_field_names suggests not changing anything #3005

isonmad opened this issue Aug 5, 2018 · 1 comment

Comments

@isonmad
Copy link

isonmad commented Aug 5, 2018

//warning: redundant field names in struct initialization
let start = 0;
let end = 0;
let _ = start..end;
//      ^^^^^ help: replace it with: `start`
//             ^^^ help: replace it with: `end`
@flip1995
Copy link
Member

flip1995 commented Aug 5, 2018

Dup of #3000

@flip1995 flip1995 closed this as completed Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants