mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-25 00:00:22 +02:00
Fix duplicate "the the" typos (#585)
Co-authored-by: Nicolae Mihalache <[email protected]>
This commit is contained in:
co-authored by
Nicolae Mihalache
parent
050d65b2ce
commit
c93a94b974
+2
-2
@@ -32,7 +32,7 @@ use crate::Buf;
|
|||||||
/// All `Bytes` implementations must fulfill the following requirements:
|
/// All `Bytes` implementations must fulfill the following requirements:
|
||||||
/// - They are cheaply cloneable and thereby shareable between an unlimited amount
|
/// - They are cheaply cloneable and thereby shareable between an unlimited amount
|
||||||
/// of components, for example by modifying a reference count.
|
/// of components, for example by modifying a reference count.
|
||||||
/// - Instances can be sliced to refer to a subset of the the original buffer.
|
/// - Instances can be sliced to refer to a subset of the original buffer.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// use bytes::Bytes;
|
/// use bytes::Bytes;
|
||||||
@@ -71,7 +71,7 @@ use crate::Buf;
|
|||||||
///
|
///
|
||||||
/// For `Bytes` implementations which point to a reference counted shared storage
|
/// For `Bytes` implementations which point to a reference counted shared storage
|
||||||
/// (e.g. an `Arc<[u8]>`), sharing will be implemented by increasing the
|
/// (e.g. an `Arc<[u8]>`), sharing will be implemented by increasing the
|
||||||
/// the reference count.
|
/// reference count.
|
||||||
///
|
///
|
||||||
/// Due to this mechanism, multiple `Bytes` instances may point to the same
|
/// Due to this mechanism, multiple `Bytes` instances may point to the same
|
||||||
/// shared memory region.
|
/// shared memory region.
|
||||||
|
|||||||
Reference in New Issue
Block a user