diff --git a/tinybytes/src/lib.rs b/tinybytes/src/lib.rs index 78a940d27..066ed2112 100644 --- a/tinybytes/src/lib.rs +++ b/tinybytes/src/lib.rs @@ -173,7 +173,7 @@ impl Bytes { return None; } // this is necessary because we want to preserve order of operations, but also need to avoid - // borrowing self as mutable and then borrowing self as immutable in the same function. + // borrowing self as mutable and then borrowing self as immutable in the same function. let old_slice = std::mem::take(&mut self.slice); let (result, remaining) = old_slice.split_at(n); self.slice = remaining;