Skip to content

Commit cffde25

Browse files
committed
Clean up function documentation
1 parent 5d2b708 commit cffde25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/Algorithms/SortedDuplicates.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ extension Sequence {
1818
/// - Precondition: This sequence must be finite,
1919
/// and be sorted according to the given predicate.
2020
///
21-
/// - Parameter type: A reference to the returned collection's type.
22-
/// - Parameter areInIncreasingOrder: The sorting predicate.
21+
/// - Parameters:
22+
/// - type: A reference to the returned collection's type.
23+
/// - areInIncreasingOrder: The sorting predicate.
2324
/// - Returns: A collection of pairs,
2425
/// one for each element equivalence class present in this sequence,
2526
/// in order of appearance.

0 commit comments

Comments
 (0)