Skip to content

Commit 704212e

Browse files
authored
fix typo (#1829)
1 parent 54ef62f commit 704212e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ func ExampleClient_Watch() {
417417
// Actual opperation (local in optimistic lock).
418418
n++
419419

420-
// Operation is commited only if the watched keys remain unchanged.
420+
// Operation is committed only if the watched keys remain unchanged.
421421
_, err = tx.TxPipelined(ctx, func(pipe redis.Pipeliner) error {
422422
pipe.Set(ctx, key, n, 0)
423423
return nil

0 commit comments

Comments
 (0)