Fix typo in comment

master
Mark Rushakoff 2015-11-22 17:53:11 -08:00
parent e991375cad
commit 9ee1aea61b
1 changed files with 1 additions and 1 deletions

2
tx.go
View File

@ -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