From e970ae1d0fef1ff8e1d6f22904d8f8ca4d6b0245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20Sala=C3=BCn?= <1910607+yansal@users.noreply.github.com> Date: Wed, 13 Feb 2019 11:51:16 +0100 Subject: [PATCH] Fix typos in Client.Watch documentation --- tx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tx.go b/tx.go index 6a7da99..fb3e633 100644 --- a/tx.go +++ b/tx.go @@ -29,10 +29,10 @@ func (c *Client) newTx() *Tx { return &tx } -// Watch prepares a transcaction and marks the keys to be watched +// Watch prepares a transaction and marks the keys to be watched // for conditional execution if there are any keys. // -// The transaction is automatically closed when the fn exits. +// The transaction is automatically closed when fn exits. func (c *Client) Watch(fn func(*Tx) error, keys ...string) error { tx := c.newTx() if len(keys) > 0 {