Closed braddunbar closed 6 months ago
Note: Miri is currently failing in CI, but is fixed by https://github.com/tokio-rs/bytes/pull/673
We're calling reserve twice because put_u8 already calls it.
reserve
put_u8
Updated with #673 to fix miri tests!
@Darksonn Sure thing! Added in 76dae7b880c52384d6a3edb364f1375b45a9274f. I think the following test technically covers it via Extend<&'a u8>, but I like being explicit.
Extend<&'a u8>
Note: Miri is currently failing in CI, but is fixed by https://github.com/tokio-rs/bytes/pull/673
We're calling
reserve
twice becauseput_u8
already calls it.