mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
155a8fb983
`Ok(0)` is indeed something the caller may interpret as an error, but
that's the *correct* thing to return if the writer can't accept any more
bytes.
(cherry picked from commit 5210f482d7)