Skip to content

Commit

Permalink
Remove unneeded casting
Browse files Browse the repository at this point in the history
  • Loading branch information
purrgrammer committed Sep 20, 2018
1 parent 859a0ab commit 6385910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/main/scala/fetch.scala
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ object `package` {
case FetchDone(a) =>
Done(Some(a)).asInstanceOf[FetchResult[F, Option[A]]]
case FetchMissing() =>
Done(None).asInstanceOf[FetchResult[F, Option[A]]]
Done(Option.empty[A])
}
))
)
Expand Down

0 comments on commit 6385910

Please sign in to comment.