mirror of https://github.com/go-redis/redis.git
Fix typo in comment (#2972)
Signed-off-by: deferdeter <deferdeter@outlook.com>
This commit is contained in:
parent
f7f34feddf
commit
9f1522a91e
|
@ -482,7 +482,7 @@ func ExampleClient_Watch() {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actual opperation (local in optimistic lock).
|
// Actual operation (local in optimistic lock).
|
||||||
n++
|
n++
|
||||||
|
|
||||||
// Operation is committed only if the watched keys remain unchanged.
|
// Operation is committed only if the watched keys remain unchanged.
|
||||||
|
|
Loading…
Reference in New Issue