Skip to content

Commit a27f0bc

Browse files
committed
Auto merge of #155321 - briansmith:b/bufwriter-conservative, r=Mark-Simulacrum
`BufWriter`: Make the soundness of `BorrowedBuf` usage clearer. The previous safety comment was outdated as it was written before `BorrowedBuf::set_init` was changed to be a boolean. It also failed to address the possibility that `flush_buf` invalidated the assumption.
2 parents 1f00189 + 2e6dca9 commit a27f0bc

0 file changed

File tree

    0 commit comments

    Comments
     (0)