Skip to content

Commit

Permalink
Merge pull request #493 from cenkalti/deprecated
Browse files Browse the repository at this point in the history
Fix deprecated comment.
  • Loading branch information
ahrtr authored May 15, 2023
2 parents 8b1ee10 + 6c836cb commit fbc136d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbc136d

Please sign in to comment.