Skip to content

[ios] std: avoid result::fold #27088

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

Merged
merged 1 commit into from
Jul 18, 2015
Merged

[ios] std: avoid result::fold #27088

merged 1 commit into from
Jul 18, 2015

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Jul 17, 2015

Fixes #26939.

@rust-highfive
Copy link
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

match print(w, i as isize, buf[i], buf[i]) {
Ok(_) => {},
Err(u) => return Err(u),
}
Copy link
Member

Choose a reason for hiding this comment

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

Could this just use try!?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, probably.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alexcrichton
Copy link
Member

@bors: r+ 5f9a1df

Thanks!

@bors
Copy link
Collaborator

bors commented Jul 18, 2015

⌛ Testing commit 5f9a1df with merge e0e1859...

bors added a commit that referenced this pull request Jul 18, 2015
@bors bors merged commit 5f9a1df into rust-lang:master Jul 18, 2015
@tamird tamird deleted the fix-ios-build branch July 18, 2015 10:59
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.

5 participants