-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add a io::Writer wrapper that supports pushback #4031
Comments
Nominating for Maturity 5, Production Ready |
sub-bug of #4248, and a feature |
accepted for feature-complete milestone |
assigning P-low. |
Shouldn't this be an |
Is something like this what everyone has in mind? https://gist.github.com/pongad/9316641 |
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 |
filesystem support for solarish: stat
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/implio::Writer
wrapper that supports lookahead and pushback for anyio::Writer
s?The text was updated successfully, but these errors were encountered: