Skip to content

Commit 03c2740

Browse files
authored
Minor description fixes
1 parent f2693da commit 03c2740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/RxSwift/toSortedArray.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import RxSwift
1111

1212
public extension ObservableType {
1313
/**
14-
Converts an Observable into another Observable that emits the whole sequence as a single array, sorts it using the provided closure and then terminates.
14+
Converts an Observable into another Observable that emits the whole sequence as a single array sorted using the provided closure and then terminates.
1515

1616
- parameter by: A comparator closure to sort emitted elements.
1717
- returns: An observable sequence containing all the sorted emitted elements as an array.
@@ -23,7 +23,7 @@ public extension ObservableType {
2323

2424
public extension ObservableType where E: Comparable {
2525
/**
26-
Converts an Observable into another Observable that emits the whole sequence as a single array, sorts it using the provided closure and then terminates.
26+
Converts an Observable into another Observable that emits the whole sequence as a single sorted array and then terminates.
2727

2828
- parameter ascending: Should the emitted items be ascending or descending.
2929
- returns: An observable sequence containing all the sorted emitted elements as an array.

0 commit comments

Comments
 (0)