aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nicolae Mihalache <xpromache@gmail.com> 2022-12-20 11:49:55 +0100
committerGravatar GitHub <noreply@github.com> 2022-12-20 11:49:55 +0100
commitc93a94b974d8c7c926c4e49ed4ce4645fb0e3801 (patch)
treebd48a91a4d9e77b06e387fa05f1d21a806c5eede
parent050d65b2cee8b2272687d798dc209dc03fe92719 (diff)
downloadbytes-c93a94b974d8c7c926c4e49ed4ce4645fb0e3801.tar.gz
bytes-c93a94b974d8c7c926c4e49ed4ce4645fb0e3801.tar.zst
bytes-c93a94b974d8c7c926c4e49ed4ce4645fb0e3801.zip
Fix duplicate "the the" typos (#585)
Co-authored-by: Nicolae Mihalache <nicolae.mihalache@spaceapplications.com>
-rw-r--r--src/bytes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytes.rs b/src/bytes.rs
index fa43d3a..b4745a9 100644
--- a/src/bytes.rs
+++ b/src/bytes.rs
@@ -32,7 +32,7 @@ use crate::Buf;
/// All `Bytes` implementations must fulfill the following requirements:
/// - They are cheaply cloneable and thereby shareable between an unlimited amount
/// 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;
@@ -71,7 +71,7 @@ use crate::Buf;
///
/// For `Bytes` implementations which point to a reference counted shared storage
/// (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
/// shared memory region.