Skip to content

Commit cd577bc

Browse files
authored
Update README.md
1 parent b9a2129 commit cd577bc

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
@@ -45,7 +45,7 @@ let meals = try KeyValuDecoder().decode([String].self, from: ["fish", "chips"])
4545
let user = try KeyValuDecoder().decode(User.self, from: ["id": 1, "name": "Herbert"])
4646
```
4747

48-
[`DecodingError`](https://developer.apple.com/documentation/swift/decodingerror) is thrown when decoding fails. [`Context`](https://developer.apple.com/documentation/swift/decodingerror/context) will include a keyPath to the failed property.
48+
[`DecodingError`](https://developer.apple.com/documentation/swift/decodingerror) is thrown when decoding fails. [`Context`](https://developer.apple.com/documentation/swift/decodingerror/context) includes a keyPath to the failed property.
4949

5050
```swift
5151
// throws DecodingError.typeMismatch 'Expected String at SELF[1], found Int'

0 commit comments

Comments
 (0)