Skip to content

Conversation

@daniellockyer
Copy link

No description provided.


let mut objects = Vec::new();
let mut src_dst = Vec::new();
for file in self.files.iter() {
Copy link
Member

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())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can these remain separate?

@daniellockyer
Copy link
Author

daniellockyer commented Mar 19, 2017

@alexcrichton I have removed those commits and force pushed 👍

@alexcrichton
Copy link
Member

Looks like there's some errors on CI?

@daniellockyer
Copy link
Author

@alexcrichton Sorry about the super late reply... I forgot I had nightly as the default. Should be good to go now 👍

@alexcrichton alexcrichton merged commit 5c75743 into rust-lang:master Apr 12, 2017
@alexcrichton
Copy link
Member

Thanks!

@daniellockyer daniellockyer deleted the clippy-fixes branch April 12, 2017 15:50
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

Successfully merging this pull request may close these issues.

2 participants