diff options
Diffstat (limited to 'pingora-cache/src/memory.rs')
-rw-r--r-- | pingora-cache/src/memory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-cache/src/memory.rs b/pingora-cache/src/memory.rs index 679517d..525bf23 100644 --- a/pingora-cache/src/memory.rs +++ b/pingora-cache/src/memory.rs @@ -151,7 +151,7 @@ impl PartialHit { }; assert!(bytes_end >= self.bytes_read); - // more data avaliable to read + // more data available to read if bytes_end > self.bytes_read { let new_bytes = Bytes::copy_from_slice(&self.body.read()[self.bytes_read..bytes_end]); |