bytes
bytes copied to clipboard
`BufMut` does not include safety invariants in trait documentation
BufMut
is unsafe to implement, but there are no safety requirements telling users what they need to ensure for their implementations to be sound. It looks like https://github.com/tokio-rs/bytes/issues/329 lists out the requirements, so they may just need to be translated into documentation.