Skip to content

Commit f5a249d

Browse files
authored
Fix typos reported by @Trzyipolkostkicukru (#23)
1 parent ced5198 commit f5a249d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct MyEvent: Decodable {
125125
guard let timestamp = MyEvent.dateFormatter.date(from: dateString) else {
126126
let dateFormat = String(describing: MyEvent.dateFormatter.dateFormat)
127127
throw DecodingError.dataCorruptedError(forKey: .eventTime, in: container, debugDescription:
128-
"Expected date to be in format `\(dateFormat)`, but `\(dateString) does not forfill format`")
128+
"Expected date to be in format `\(dateFormat)`, but `\(dateString) does not fulfill format`")
129129
}
130130
self.eventTime = timestamp
131131
}
@@ -162,7 +162,7 @@ struct DateStringCoding: Decodable {
162162
guard let date = Self.dateFormatter.date(from: dateString) else {
163163
let dateFormat = String(describing: Self.dateFormatter.dateFormat)
164164
throw DecodingError.dataCorruptedError(in: container, debugDescription:
165-
"Expected date to be in format `\(dateFormat)`, but `\(dateString) does not forfill format`")
165+
"Expected date to be in format `\(dateFormat)`, but `\(dateString) does not fulfill format`")
166166
}
167167
self.wrappedValue = date
168168
}
@@ -183,7 +183,7 @@ struct MyEvent: Decodable {
183183
}
184184
```
185185

186-
Checkout the a full example in the test file [DateCodingTests](https://github.com/fabianfett/pure-swift-json/blob/master/Tests/JSONCodingTests/DateCodingTests.swift).
186+
Checkout a full example in the test file [DateCodingTests](https://github.com/fabianfett/pure-swift-json/blob/master/Tests/JSONCodingTests/DateCodingTests.swift).
187187

188188
### UTF-16 and UTF-32
189189

0 commit comments

Comments
 (0)