mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Update src/uu/head/src/take.rs
Co-authored-by: Dorian Péron <72708393+RenjiSann@users.noreply.github.com>
This commit is contained in:
co-authored by
Dorian Péron
parent
29875312a1
commit
e1275f4ccd
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user