Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These are the inverses of `Result::ok` and help to bridge `Option` and `Result` based APIs.
- Loading branch information
Showing
1 changed file
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0c8878d
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.
saw approval from aturon
at sfackler@0c8878d
0c8878d
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.
merging sfackler/rust/into-result = 0c8878d into auto
0c8878d
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.
sfackler/rust/into-result = 0c8878d merged ok, testing candidate = 9827a476
0c8878d
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.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1198
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1543
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1541
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1196
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1198
exception: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/31
exception: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/31
0c8878d
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.
saw approval from aturon
at sfackler@0c8878d
0c8878d
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.
merging sfackler/rust/into-result = 0c8878d into auto
0c8878d
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.
sfackler/rust/into-result = 0c8878d merged ok, testing candidate = 1109b005
0c8878d
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.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1554
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1551
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1545
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1551
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1548
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1547
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1547
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1551
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1545
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1544
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1547
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1202
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1200
exception: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/36
exception: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/35
0c8878d
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.
saw approval from aturon
at sfackler@0c8878d
0c8878d
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.
merging sfackler/rust/into-result = 0c8878d into auto
0c8878d
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.
sfackler/rust/into-result = 0c8878d merged ok, testing candidate = 606bf11
0c8878d
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1556
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1553
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1547
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1553
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1550
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1549
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1549
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1553
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1547
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1546
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1549
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1204
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1202
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1204
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/38
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/37
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/37
0c8878d
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.
fast-forwarding master to auto = 606bf11