Skip to content

Commit

Permalink
docs: typo fix
Browse files Browse the repository at this point in the history
Behind and between were both used.
I chose behind for this context.
  • Loading branch information
Daniel Bauman authored and Daniel Bauman committed Oct 19, 2023
1 parent fd9243f commit e70b595
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 @@ -63,8 +63,8 @@ use crate::Buf;
/// `Bytes` contains a vtable, which allows implementations of `Bytes` to define
/// how sharing/cloning is implemented in detail.
/// When `Bytes::clone()` is called, `Bytes` will call the vtable function for
/// cloning the backing storage in order to share it behind between multiple
/// `Bytes` instances.
/// cloning the backing storage in order to share it behind multiple `Bytes`
/// instances.
///
/// For `Bytes` implementations which refer to constant memory (e.g. created
/// via `Bytes::from_static()`) the cloning implementation will be a no-op.
Expand Down

0 comments on commit e70b595

Please sign in to comment.