diff --git a/RxCocoa/Common/RxCocoa.swift b/RxCocoa/Common/RxCocoa.swift index 2f8573ad..9c58d6c1 100644 --- a/RxCocoa/Common/RxCocoa.swift +++ b/RxCocoa/Common/RxCocoa.swift @@ -278,15 +278,6 @@ func castOrFatalError(value: AnyObject!, message: String) -> T { return result } -func castOrFatalError(value: AnyObject!) -> T { - let maybeResult: T? = value as? T - guard let result = maybeResult else { - rxFatalError("Failure converting from \(value) to \(T.self)") - } - - return result -} - func castOrFatalError(value: Any!) -> T { let maybeResult: T? = value as? T guard let result = maybeResult else {