Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Guides/AdjacentPairs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

Lazily iterates over tuples of adjacent elements.

This operation is available for any sequence by calling the `adjacentPairs()`
method.

```swift
let numbers = (1...5)
let pairs = numbers.adjacentPairs()
Expand Down
2 changes: 1 addition & 1 deletion Guides/Combinations.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ call to `CombinationsSequence.Iterator.next()` is an O(_n_) operation.
### Naming

The parameter label in `combination(ofCount:)` is the best match for the
Swift API guidelines. A few other options were considered:
[Swift's API Design Guidelines](https://www.swift.org/documentation/api-design-guidelines/). A few other options were considered:

- When the standard library uses `of` as a label, the parameter is generally
the object of the operation, as in `type(of:)` and `firstIndex(of:)`, and
Expand Down