From e1275f4ccd7b1733f008bb8128f9347f209d8947 Mon Sep 17 00:00:00 2001 From: karlmcdowall Date: Tue, 18 Mar 2025 09:08:21 -0600 Subject: [PATCH] Update src/uu/head/src/take.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dorian Péron <72708393+RenjiSann@users.noreply.github.com> --- src/uu/head/src/take.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/head/src/take.rs b/src/uu/head/src/take.rs index dd80b8dd1..a2ae6d14d 100644 --- a/src/uu/head/src/take.rs +++ b/src/uu/head/src/take.rs @@ -86,7 +86,7 @@ impl TakeAllBuffer { /// Chunks are read until at least we have enough data to write out the entire contents of the /// first TakeAllBuffer in the queue whilst still retaining at least `n` bytes in the queue. /// If we hit EoF at any point, stop reading. -/// 2 - Asses whether we managed to queue up greater-than `n` bytes. If not, we must be done, in +/// 2 - Assess whether we managed to queue up greater-than `n` bytes. If not, we must be done, in /// which case break and return. /// 3 - Write either the full first buffer of data, or just enough bytes to get back down to having /// the required `n` bytes of data queued.