We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc9425 commit e3de351Copy full SHA for e3de351
README.md
@@ -458,11 +458,11 @@ let encoder = CSVEncoder {
458
$0.dateStrategy = .iso8601
459
$0.bufferingStrategy = .sequential
460
$0.floatStrategy = .convert(positiveInfinity: "∞", negativeInfinity: "-∞", nan: "≁")
461
- $0.dataStrategy = .custom { (data, encoder) in
+ $0.dataStrategy = .custom({ (data, encoder) in
462
let string = customTransformation(data)
463
var container = try encoder.singleValueContainer()
464
try container.encode(string)
465
- }
+ })
466
}
467
```
468
0 commit comments