In fact, this is the only motivation I have for a "shallow flush" at the moment, and this can be addressed by changing the contract on into_inner
to only finalize writing, but not flush the returned writer. With an implication that the consumer should take care of the eventual flushing.
1 Like