This commit is contained in:
Sergey Timoshin 2015-10-28 00:02:13 +03:00
parent 7acb77a41d
commit 5adacc4092
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ Let's create a function which creates a sequence that returns one element upon s
func myJust<E>(element: E) -> Observable<E> {
return create { observer in
observer.on(.Next(element))
obsever.on(.Completed)
observer.on(.Completed)
return NopDisposable.instance
}
}