mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-28 00:00:17 +02:00
Fix typo in bytes.rs (#243)
This commit is contained in:
committed by
Carl Lerche
parent
42b669690a
commit
f3b363a385
+1
-1
@@ -273,7 +273,7 @@ pub struct BytesMut {
|
|||||||
// The rest of `arc`'s bytes are used as part of the inline buffer, which means
|
// The rest of `arc`'s bytes are used as part of the inline buffer, which means
|
||||||
// that those bytes need to be located next to the `ptr`, `len`, and `cap`
|
// that those bytes need to be located next to the `ptr`, `len`, and `cap`
|
||||||
// fields, which make up the rest of the inline buffer. This requires special
|
// fields, which make up the rest of the inline buffer. This requires special
|
||||||
// casing the layout of `Inner` depending on if the target platform is bit or
|
// casing the layout of `Inner` depending on if the target platform is big or
|
||||||
// little endian.
|
// little endian.
|
||||||
//
|
//
|
||||||
// On little endian platforms, the `arc` field must be the first field in the
|
// On little endian platforms, the `arc` field must be the first field in the
|
||||||
|
|||||||
Reference in New Issue
Block a user