Skip to content
This repository was archived by the owner on Jul 2, 2018. It is now read-only.

Commit 446ee26

Browse files
committed
[release]: Fixes mistake in README
1 parent 64bdd2a commit 446ee26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public static func quoteFromNetworkResult(result: Result<(NSData?, NSURLResponse
224224
return result.analysis(
225225
ifSuccess: { data, response in
226226
let rate: BankersDecimal = 1.5 // or whatever
227-
return Result(value: FXQuote(rate: BankersDecimal(floatLiteral: rate)))
227+
return Result(value: FXQuote(rate: rate))
228228
},
229229
ifFailure: { error in
230230
return Result(error: .NetworkError(error))

0 commit comments

Comments
 (0)