Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix `LimitReader`'s `Buffer::consume` impl to avoid limit underflow * Make `MultiWriter` fail fast instead of always running through each `Writer`. This may or may not be what we want, but it at least doesn't throw any errors encountered in later `Writer`s into oblivion. * Prevent `IterReader`'s `Reader::read` impl from returning EOF if given an empty buffer. [breaking-change]
- Loading branch information
Showing
1 changed file
with
38 additions
and
18 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
89a0060
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@89a0060
89a0060
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/io-util-cleanup = 89a0060 into auto
89a0060
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/io-util-cleanup = 89a0060 merged ok, testing candidate = ec1d34e
89a0060
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/856
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/856
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/855
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/856
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/851
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/852
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/851
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/857
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/852
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/851
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/854
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/852
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/852
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/853
89a0060
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 = ec1d34e