diff --git a/RxSwift/Errors.swift b/RxSwift/Errors.swift index 270f101c..ccb71c19 100644 --- a/RxSwift/Errors.swift +++ b/RxSwift/Errors.swift @@ -34,11 +34,11 @@ public enum RxError */ case ArgumentOutOfRange /** - Sequence doesn't contain any element. + Sequence doesn't contain any elements. */ case NoElements /** - Sequence contains more then one element. + Sequence contains more than one element. */ case MoreThanOneElement /** @@ -62,11 +62,11 @@ public extension RxError { case .ArgumentOutOfRange: return "Argument out of range." case .NoElements: - return "Sequence doesn't contain any element." + return "Sequence doesn't contain any elements." case .MoreThanOneElement: - return "Sequence contains more then one element." + return "Sequence contains more than one element." case .Timeout: - return "Sequence timeout" + return "Sequence timeout." } } } \ No newline at end of file diff --git a/RxSwift/Observable+Extensions.swift b/RxSwift/Observable+Extensions.swift index fb32066f..c44b9b05 100644 --- a/RxSwift/Observable+Extensions.swift +++ b/RxSwift/Observable+Extensions.swift @@ -31,7 +31,7 @@ extension ObservableType { - parameter onError: Action to invoke upon errored termination of the observable sequence. - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence. - parameter onDisposed: Action to invoke upon any type of termination of sequence (if the sequence has - gracefully completed, errored, or if the generation is cancelled by disposing subscription) + gracefully completed, errored, or if the generation is cancelled by disposing subscription). - returns: Subscription object used to unsubscribe from the observable sequence. */ @warn_unused_result(message="http://git.io/rxs.ud") @@ -119,7 +119,7 @@ extension ObservableType { public extension ObservableType { /** - All internal subscribe calls go through this method + All internal subscribe calls go through this method. */ @warn_unused_result(message="http://git.io/rxs.ud") func subscribeSafe(observer: O) -> Disposable { diff --git a/RxSwift/ObservableType.swift b/RxSwift/ObservableType.swift index 4ed114cc..7594bc51 100644 --- a/RxSwift/ObservableType.swift +++ b/RxSwift/ObservableType.swift @@ -25,7 +25,7 @@ public protocol ObservableType : ObservableConvertibleType { **Next\* (Error | Completed)?** * sequences can produce zero or more elements so zero or more `Next` events can be sent to `observer` - * once an `Error` or `Completed` event is sent, the sequence terminates and can't produce any other element + * once an `Error` or `Completed` event is sent, the sequence terminates and can't produce any other elements It is possible that events are sent from different threads, but no two events can be sent concurrently to `observer`.