Skip to content

Commit 4f3d943

Browse files
committed
Fix linting
1 parent 938012b commit 4f3d943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftUIKit/Date/JSONEncoder+Date.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public extension JSONEncoder {
2121
private extension JSONEncoder.DateEncodingStrategy {
2222

2323
/// A strategy that can encode ISO8601 dates robustly.
24-
static let customISO8601 = custom { (date, encoder) throws -> Void in
24+
static let customISO8601 = custom { (date, encoder) throws in
2525
let formatter = DateFormatter.iso8601Milliseconds
2626
let string = formatter.string(from: date)
2727
var container = encoder.singleValueContainer()

0 commit comments

Comments
 (0)