-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop returning error strings in From{Base64,Hex}
An enum allows callers to deal with errors in a more reasonable way.
- Loading branch information
Showing
3 changed files
with
47 additions
and
14 deletions.
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
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
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
9fe5d16
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 alexcrichton
at sfackler@9fe5d16
9fe5d16
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/err-enums = 9fe5d16 into auto
9fe5d16
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/err-enums = 9fe5d16 merged ok, testing candidate = fa91446
9fe5d16
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/3592
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/1435
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1437
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3593
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/2694
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2699
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3608
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/2696
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2702
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3610
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/2696
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/2701
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/2770
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3600
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/2701
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/2706
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/3371
9fe5d16
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 = fa91446