Skip to content

Commit 220649e

Browse files
authored
Correct typos (#113)
largets -> largest
1 parent b171b81 commit 220649e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Algorithms/MinMax.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ extension Sequence {
120120
return try _minImplementation(count: count, sortedBy: areInIncreasingOrder)
121121
}
122122

123-
/// Returns the largets elements of this sequence, as sorted by the given
123+
/// Returns the largest elements of this sequence, as sorted by the given
124124
/// predicate.
125125
///
126126
/// This example partially sorts an array of integers to retrieve its three
@@ -275,7 +275,7 @@ extension Collection {
275275
return try _minImplementation(count: count, sortedBy: areInIncreasingOrder)
276276
}
277277

278-
/// Returns the largets elements of this collection, as sorted by the given
278+
/// Returns the largest elements of this collection, as sorted by the given
279279
/// predicate.
280280
///
281281
/// This example partially sorts an array of integers to retrieve its three

0 commit comments

Comments
 (0)