aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Rushakoff <mark@influxdb.com>2015-11-22 17:53:11 -0800
committerMark Rushakoff <mark@influxdb.com>2015-11-22 18:20:48 -0800
commit9ee1aea61bf0874df1cacc0853660ad478dd68a0 (patch)
tree57299e417bddde060f7906c6ddb47c29e145a915
parentExplain iterating over sub-buckets in README (diff)
downloaddedo-9ee1aea61bf0874df1cacc0853660ad478dd68a0.tar.gz
dedo-9ee1aea61bf0874df1cacc0853660ad478dd68a0.tar.xz
Fix typo in comment
-rw-r--r--tx.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tx.go b/tx.go
index 3273106..d16f9f5 100644
--- a/tx.go
+++ b/tx.go
@@ -271,7 +271,7 @@ func (tx *Tx) close() {
}
// Copy writes the entire database to a writer.
-// This function exists for backwards compatibility. Use WriteTo() in
+// This function exists for backwards compatibility. Use WriteTo() instead.
func (tx *Tx) Copy(w io.Writer) error {
_, err := tx.WriteTo(w)
return err