Skip to content

Commit ce65188

Browse files
authored
Merge pull request #30 from robo-fish/develop
Fixed typo in example code.
2 parents 582872a + 0ed6d10 commit ce65188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ To configure the encoding/decoding process, you need to set the configuration va
692692
```swift
693693
var config = CSVDecoder.Configuration()
694694
config.nilStrategy = .empty
695-
config.decimalStrategy = .local(.current)
695+
config.decimalStrategy = .locale(.current)
696696
config.dataStrategy = .base64
697697
config.bufferingStrategy = .sequential
698698
config.trimStrategy = .whitespaces
@@ -707,7 +707,7 @@ To configure the encoding/decoding process, you need to set the configuration va
707707
```swift
708708
let decoder = CSVDecoder {
709709
$0.nilStrategy = .empty
710-
$0.decimalStrategy = .local(.current)
710+
$0.decimalStrategy = .locale(.current)
711711
// and so on and so forth
712712
}
713713
```

0 commit comments

Comments
 (0)