Merge pull request #493 from cenkalti/deprecated

Fix deprecated comment.
pull/495/head
Benjamin Wang 2023-05-16 06:21:48 +08:00 committed by GitHub
commit fbc136d482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
tx.go
View File

@ -330,7 +330,7 @@ func (tx *Tx) close() {
// Copy writes the entire database to a writer.
// This function exists for backwards compatibility.
//
// Deprecated; Use WriteTo() instead.
// Deprecated: Use WriteTo() instead.
func (tx *Tx) Copy(w io.Writer) error {
_, err := tx.WriteTo(w)
return err