From 728735b9149d1dcd908e1e65ed6b3e33029870d4 Mon Sep 17 00:00:00 2001 From: katelyn martin Date: Fri, 1 Nov 2024 10:19:19 -0400 Subject: [PATCH] nit(docs): Fix typo in `Buf::chunk()` comment This fixes a small grammar issue in the documentation. --- src/buf/buf_impl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buf/buf_impl.rs b/src/buf/buf_impl.rs index 9ef464075..b09d356bd 100644 --- a/src/buf/buf_impl.rs +++ b/src/buf/buf_impl.rs @@ -125,8 +125,8 @@ pub trait Buf { fn remaining(&self) -> usize; /// Returns a slice starting at the current position and of length between 0 - /// and `Buf::remaining()`. Note that this *can* return shorter slice (this allows - /// non-continuous internal representation). + /// and `Buf::remaining()`. Note that this *can* return a shorter slice (this + /// allows non-continuous internal representation). /// /// This is a lower level function. Most operations are done with other /// functions.