diff --git a/clientv3/concurrency/example_stm_test.go b/clientv3/concurrency/example_stm_test.go index d49862c7d..54c871d36 100644 --- a/clientv3/concurrency/example_stm_test.go +++ b/clientv3/concurrency/example_stm_test.go @@ -58,7 +58,7 @@ func ExampleSTM_apply() { // transfer amount xfer := fromInt / 2 - fromInt, toInt = fromInt-xfer, toInt-xfer + fromInt, toInt = fromInt-xfer, toInt+xfer // writeback stm.Put(fromK, fmt.Sprintf("%d", fromInt))