Skip to content

Commit

Permalink
[release]: Fixes mistake in README
Browse files Browse the repository at this point in the history
  • Loading branch information
danthorpe committed Dec 16, 2015
1 parent 64bdd2a commit 446ee26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public static func quoteFromNetworkResult(result: Result<(NSData?, NSURLResponse
return result.analysis(
ifSuccess: { data, response in
let rate: BankersDecimal = 1.5 // or whatever
return Result(value: FXQuote(rate: BankersDecimal(floatLiteral: rate)))
return Result(value: FXQuote(rate: rate))
},
ifFailure: { error in
return Result(error: .NetworkError(error))
Expand Down

0 comments on commit 446ee26

Please sign in to comment.