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

Update examples with "for_each" #334

Merged
merged 1 commit into from Oct 17, 2017

Conversation

Projects
None yet
2 participants
@sb89
Copy link
Contributor

sb89 commented Oct 15, 2017

Fixes #332

@budziq
Copy link
Collaborator

budziq left a comment

@sb89 Wery nice work!

I'd only suggest to check if we can get rid of some of the intermediate temp variables now as we do not need these to pass into for loop.

@@ -310,7 +310,7 @@ fn run() -> Result<()> {
(.*) # The commit message")?;
let stdout = String::from_utf8(output.stdout)?;
let commits = stdout
stdout

This comment has been minimized.

@budziq

budziq Oct 16, 2017

Collaborator

we can get rid of the intermediate temp variables such as stdout here

Steven Blake
Update examples with "for_each"
Remove intermediate variable

@sb89 sb89 force-pushed the sb89:for_each branch from a6d5645 to f596806 Oct 16, 2017

@sb89

This comment has been minimized.

Copy link
Contributor Author

sb89 commented Oct 17, 2017

Implemented changes as requested.

@budziq budziq merged commit 02ed855 into rust-lang-nursery:master Oct 17, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@budziq

This comment has been minimized.

Copy link
Collaborator

budziq commented Oct 17, 2017

Well done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.