Skip to content

Commit f2510e2

Browse files
authored
Update README.md
1 parent 995d2c3 commit f2510e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The default strategy `IntDecodingStrategy.exact` ensures the source value is exa
109109
// [10, 20, -30, 50]
110110
let values = try KeyValueDecoder().decode([Int8].self, from: [10, 20.0, -30.0, Int64(50)])
111111

112-
// throws DecodingError.typeMismatch because 1000 cannot be exactly repr
112+
// throws DecodingError.typeMismatch because 1000 cannot be exactly represented by Int8
113113
_ = try KeyValueDecoder().decode(Int8.self, from: 1000])
114114
```
115115

0 commit comments

Comments
 (0)