Skip to content

Commit 19a2c87

Browse files
committed
Docs: Use swift instead of json to fix highlighting
Github doesn't like incorrect JSON. ¯\_(ツ)_/¯
1 parent 0611f7a commit 19a2c87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ let leia = luke.copy(name: "Leia")
9797

9898
In the above, `leia` would have the same `id` and `address` as `luke` because those arguments were not given.
9999

100-
```json
100+
```swift
101101
{ id: 1, name: "Leia", address: "Jakku" }
102102
```
103103

@@ -113,7 +113,7 @@ let lukeWithNoAddress = luke.copy(address: address)
113113

114114
The `lukeWithNoAddress` variable will have a `nil` address as expected:
115115

116-
```json
116+
```swift
117117
{ id: 1, name: "Luke", address: nil }
118118
```
119119

0 commit comments

Comments
 (0)