mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-09-06 00:00:14 +02:00
docs: typo fix (#637)
Co-authored-by: Daniel Bauman <[email protected]>
This commit is contained in:
+2
-2
@@ -63,8 +63,8 @@ use crate::Buf;
|
|||||||
/// `Bytes` contains a vtable, which allows implementations of `Bytes` to define
|
/// `Bytes` contains a vtable, which allows implementations of `Bytes` to define
|
||||||
/// how sharing/cloning is implemented in detail.
|
/// how sharing/cloning is implemented in detail.
|
||||||
/// When `Bytes::clone()` is called, `Bytes` will call the vtable function for
|
/// When `Bytes::clone()` is called, `Bytes` will call the vtable function for
|
||||||
/// cloning the backing storage in order to share it behind between multiple
|
/// cloning the backing storage in order to share it behind multiple `Bytes`
|
||||||
/// `Bytes` instances.
|
/// instances.
|
||||||
///
|
///
|
||||||
/// For `Bytes` implementations which refer to constant memory (e.g. created
|
/// For `Bytes` implementations which refer to constant memory (e.g. created
|
||||||
/// via `Bytes::from_static()`) the cloning implementation will be a no-op.
|
/// via `Bytes::from_static()`) the cloning implementation will be a no-op.
|
||||||
|
|||||||
Reference in New Issue
Block a user