Skip to content

Commit f2693da

Browse files
committed
fix typo: ascendign -> ascending
1 parent e96e714 commit f2693da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RxSwift/toSortedArray.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public extension ObservableType where E: Comparable {
2525
/**
2626
Converts an Observable into another Observable that emits the whole sequence as a single array, sorts it using the provided closure and then terminates.
2727

28-
- parameter ascending: Should the emitted items be ascendign or descending.
28+
- parameter ascending: Should the emitted items be ascending or descending.
2929
- returns: An observable sequence containing all the sorted emitted elements as an array.
3030
*/
3131
func toSortedArray(ascending: Bool = true) -> Observable<[E]> {

0 commit comments

Comments
 (0)