mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-06 16:07:47 +00: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:
parent
29875312a1
commit
e1275f4ccd
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ impl TakeAllBuffer {
|
||||||
/// Chunks are read until at least we have enough data to write out the entire contents of the
|
/// 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.
|
/// first TakeAllBuffer in the queue whilst still retaining at least `n` bytes in the queue.
|
||||||
/// If we hit EoF at any point, stop reading.
|
/// 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.
|
/// which case break and return.
|
||||||
/// 3 - Write either the full first buffer of data, or just enough bytes to get back down to having
|
/// 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.
|
/// the required `n` bytes of data queued.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue