Fix docs for take function
Some checks are pending
test / test (push) Waiting to run

This commit is contained in:
Lily Rose 2025-08-09 18:57:34 +10:00
parent d7372270e7
commit 4684dae3c6

View file

@ -144,9 +144,7 @@ pub fn step(yielder: Yielder(e)) -> Step(e, Yielder(e)) {
Next(e, Yielder(a)) Next(e, Yielder(a))
} }
/// Creates an yielder that only yields the first `desired` elements. /// Creates a list containing the `desired` number of elements.
///
/// If the yielder does not have enough elements all of them are yielded.
/// ///
/// ## Examples /// ## Examples
/// ///