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
I tried to do this, but I got confused. Since BytesReader wraps an immutable vector, I don't see a safe way to implement unread_byte. Do we even need it? I don't see it used anywhere.
Activity
eholk commentedon Jun 28, 2012
This should be pretty easy to fix. I think it basically just needs to call
vec::unshifton the underlying vector.catamorphism commentedon Nov 24, 2012
n.b.
byte_bufis nowBytesReader.catamorphism commentedon Nov 24, 2012
I tried to do this, but I got confused. Since
BytesReaderwraps an immutable vector, I don't see a safe way to implementunread_byte. Do we even need it? I don't see it used anywhere.erickt commentedon Nov 24, 2012
I'm fine with removing it. How about we remove it, and make an issue to add a
Writerwrapper that adds support for unreading bytes/chars?catamorphism commentedon Nov 24, 2012
Sounds like a plan!
erickt commentedon Nov 24, 2012
Here it is: #4031.
[libs] Remove unread_byte method from core::io::Reader
Auto merge of rust-lang#2738 - RalfJung:rustup, r=RalfJung
rust-log-analyzer commentedon Dec 24, 2022
The job
mingw-checkfailed! Check out the build log: (web) (plain)Click to see the possible cause of the failure (guessed by this bot)
Auto merge of rust-lang#2738 - RalfJung:rustup, r=RalfJung
Bump dependencies for release 0.36.0 (rust-lang#2738)
Merge pull request rust-lang#2738 from rust-lang/add-offload-contribu…
Merge rust-lang#2738
Merge rust-lang#2749