Small polish.
This commit is contained in:
parent
6040789f93
commit
d09832edff
|
|
@ -23,7 +23,7 @@ extension ControlEvent {
|
|||
#if DEBUG
|
||||
rxFatalError("Somehow driver received error from a source that shouldn't fail.")
|
||||
#else
|
||||
return Drive.empty()
|
||||
return Driver.empty()
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ struct WikipediaSearchResult: CustomDebugStringConvertible {
|
|||
throw WikipediaParseError
|
||||
}
|
||||
|
||||
let titleAndDescription = Array(Swift.zip(rootArrayTyped[0], rootArrayTyped[1]))
|
||||
let titleDescriptionAndUrl: [((AnyObject, AnyObject), AnyObject)] = Array(Swift.zip(titleAndDescription, rootArrayTyped[2]))
|
||||
let titleAndDescription = Array(zip(rootArrayTyped[0], rootArrayTyped[1]))
|
||||
let titleDescriptionAndUrl: [((AnyObject, AnyObject), AnyObject)] = Array(zip(titleAndDescription, rootArrayTyped[2]))
|
||||
|
||||
let searchResults: [WikipediaSearchResult] = try titleDescriptionAndUrl.map ( { result -> WikipediaSearchResult in
|
||||
let (first, url) = result
|
||||
|
|
|
|||
Loading…
Reference in New Issue