-
Notifications
You must be signed in to change notification settings - Fork 559
Fix some style issues given by clippy #146
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
Conversation
|
|
||
| let mut objects = Vec::new(); | ||
| let mut src_dst = Vec::new(); | ||
| for file in self.files.iter() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally prefer for x in foo.iter() over for x in &foo, can this remain as it was?
| if target.contains("msvc") { | ||
| None | ||
| } else if target.contains("darwin") { | ||
| Some("c++".to_string()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these remain separate?
|
@alexcrichton I have removed those commits and force pushed 👍 |
|
Looks like there's some errors on CI? |
|
@alexcrichton Sorry about the super late reply... I forgot I had nightly as the default. Should be good to go now 👍 |
|
Thanks! |
No description provided.