Skip to content

Commit 0ebed14

Browse files
Merge pull request #210 from amomchilov/tweak-docs
[Docs] Add link and remove redundant doc line
2 parents dd4e0e7 + c8ae549 commit 0ebed14

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Guides/AdjacentPairs.md

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
Lazily iterates over tuples of adjacent elements.
77

8-
This operation is available for any sequence by calling the `adjacentPairs()`
9-
method.
10-
118
```swift
129
let numbers = (1...5)
1310
let pairs = numbers.adjacentPairs()

Guides/Combinations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ call to `CombinationsSequence.Iterator.next()` is an O(_n_) operation.
8686
### Naming
8787

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

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

0 commit comments

Comments
 (0)