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
This issue was labelled with: A-libs, P-low in the Rust repository
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?
The text was updated successfully, but these errors were encountered:
Issue by erickt
Saturday Nov 24, 2012 at 20:17 GMT
For earlier discussion, see rust-lang/rust#4031
This issue was labelled with: A-libs, P-low in the Rust repository
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: