You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a io::Writer wrapper that supports pushback #4031
C's stdio has a function ungetc that lets you push back a single char on a stream. While we could expose support for the c functions, this wouldn't help with our str/bytes writers. Instead, how about we make a trait/impl io::Writer wrapper that supports lookahead and pushback for any io::Writers?
I'm pulling a massive triage effort to get us ready for 1.0. As part of this, I'm moving stuff that's wishlist-like to the RFCs repo, as that's where major new things should get discussed/prioritized.
Activity
[libs] Remove unread_byte method from core::io::Reader
bstrie commentedon May 28, 2013
Nominating for Maturity 5, Production Ready
graydon commentedon Jul 18, 2013
sub-bug of #4248, and a feature
graydon commentedon Jul 18, 2013
accepted for feature-complete milestone
pnkfelix commentedon Jan 22, 2014
assigning P-low.
sfackler commentedon Jan 22, 2014
Shouldn't this be an
io::Readerwrapper?pongad commentedon Mar 3, 2014
Is something like this what everyone has in mind? https://gist.github.com/pongad/9316641
I can open a PR if everyone likes it ok.
steveklabnik commentedon Feb 15, 2015
I'm pulling a massive triage effort to get us ready for 1.0. As part of this, I'm moving stuff that's wishlist-like to the RFCs repo, as that's where major new things should get discussed/prioritized.
This issue has been moved to the RFCs repo: rust-lang/rfcs#856
Merge pull request rust-lang#4031 from devnexen/solarish_stat