Skip to content

Commit

Permalink
Fix duplicate "the the" typos (tokio-rs#585)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolae Mihalache <nicolae.mihalache@spaceapplications.com>
  • Loading branch information
2 people authored and lelongg committed Jan 9, 2023
1 parent 82cc99f commit 9185c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9185c37

Please sign in to comment.