aboutsummaryrefslogtreecommitdiff
path: root/src/bytes.rs
diff options
context:
space:
mode:
authorGravatar Carl Lerche <me@carllerche.com> 2020-10-19 15:48:23 -0700
committerGravatar GitHub <noreply@github.com> 2020-10-19 15:48:23 -0700
commite0d8413d53e3774177b040a4f9adda40ec15ce8f (patch)
tree96c2caf27aa9a19127baa414dd3470d20b49d4ee /src/bytes.rs
parent5a11c783ecf7c308e7b145f56d5c05e635b99269 (diff)
downloadbytes-e0d8413d53e3774177b040a4f9adda40ec15ce8f.tar.gz
bytes-e0d8413d53e3774177b040a4f9adda40ec15ce8f.tar.zst
bytes-e0d8413d53e3774177b040a4f9adda40ec15ce8f.zip
Switch `BufMut::bytes_mut` to`&mut UninitSlice` (#433)
The way BufMut uses MaybeUninit can lead to unsoundness. This replaces MaybeUnit with a type owned by bytes so we can ensure the usage patterns are sound. Refs: #328
Diffstat (limited to 'src/bytes.rs')
0 files changed, 0 insertions, 0 deletions