Skip to content

Commit 8e3e19b

Browse files
committed
README: Break indent, fix text
1 parent 54e12c2 commit 8e3e19b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ let package = Package(
6262

6363
## Using the SwiftNIO Redis protocol handler
6464

65-
The RESP protocol handler just implemented as a regular
65+
The RESP protocol is implemented as a regular
6666
`ChannelHandler`, similar to `NIOHTTP1`.
6767
It takes incoming `ByteBuffer` data, parses that, and emits `RESPValue`
6868
items.
@@ -116,16 +116,16 @@ Using NIO Promises:
116116

117117
```swift
118118
client
119-
.set ("counter", 0, expire: 2)
120-
.then {
121-
client.incr("counter", by: 10)
122-
}
123-
.then {
124-
client.get("counter")
125-
}
126-
.map {
127-
print("counter is:", $0)
128-
}
119+
.set ("counter", 0, expire: 2)
120+
.then {
121+
client.incr("counter", by: 10)
122+
}
123+
.then {
124+
client.get("counter")
125+
}
126+
.map {
127+
print("counter is:", $0)
128+
}
129129
```
130130

131131

0 commit comments

Comments
 (0)