From e70b5957ccd2fe69508fa90a81be3ea5d961518e Mon Sep 17 00:00:00 2001 From: Daniel Bauman Date: Thu, 19 Oct 2023 11:03:18 -0700 Subject: [PATCH] docs: typo fix Behind and between were both used. I chose behind for this context. --- src/bytes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bytes.rs b/src/bytes.rs index d8911bba1..58cd1fc8c 100644 --- a/src/bytes.rs +++ b/src/bytes.rs @@ -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.