From 6c4675a48b7a57ce5597c0da5bd15eef874ec334 Mon Sep 17 00:00:00 2001 From: reginaldalfret Date: Wed, 7 Oct 2026 15:58:13 +0530 Subject: [PATCH] docs: fix missing argument colon in trimmingSuffix(while:) guide link Signed-off-by: reginaldalfret --- Guides/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guides/README.md b/Guides/README.md index d4894882c..f710fbb36 100644 --- a/Guides/README.md +++ b/Guides/README.md @@ -30,7 +30,7 @@ These guides describe the design and intention behind the APIs included in the ` - [`randomStableSample(count:)`, `randomStableSample(count:using:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/RandomSampling.md): Randomly selects a specific number of elements from a collection, preserving their original relative order. - [`striding(by:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Stride.md): Returns every nth element of a collection. - [`suffix(while:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Suffix.md): Returns the suffix of a collection where all element pass a given predicate. -- [`trimmingPrefix(while:)`, `trimmingSuffix(while)`, `trimming(while:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Trim.md): Returns a slice by trimming elements from a collection's start, end, or both. The mutating `trim...` methods trim a collection in place. +- [`trimmingPrefix(while:)`, `trimmingSuffix(while:)`, `trimming(while:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Trim.md): Returns a slice by trimming elements from a collection's start, end, or both. The mutating `trim...` methods trim a collection in place. - [`uniqued()`, `uniqued(on:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Unique.md): The unique elements of a collection, preserving their order. - [`minAndMax()`, `minAndMax(by:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/MinMax.md): Returns the smallest and largest elements of a sequence.