Skip to content

Commit

Permalink
Merge pull request #210 from amomchilov/tweak-docs
Browse files Browse the repository at this point in the history
[Docs] Add link and remove redundant doc line
  • Loading branch information
stephentyrone authored Nov 1, 2023
2 parents dd4e0e7 + c8ae549 commit 0ebed14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
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

0 comments on commit 0ebed14

Please sign in to comment.