Skip to content

Commit

Permalink
Merge pull request #709 from ideapark/main
Browse files Browse the repository at this point in the history
all: fix doc of var ErrChecksum
  • Loading branch information
ahrtr authored Mar 12, 2024
2 parents bd1ef29 + 47b03db commit 9109fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
// Deprecated: Use the error variables defined in the bbolt/errors package.
ErrVersionMismatch = errors.ErrVersionMismatch

// ErrChecksum is returned when either meta page checksum does not match.
// ErrChecksum is returned when a checksum mismatch occurs on either of the two meta pages.
//
// Deprecated: Use the error variables defined in the bbolt/errors package.
ErrChecksum = errors.ErrChecksum
Expand Down
2 changes: 1 addition & 1 deletion errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
// different version of Bolt.
ErrVersionMismatch = errors.New("version mismatch")

// ErrChecksum is returned when either meta page checksum does not match.
// ErrChecksum is returned when a checksum mismatch occurs on either of the two meta pages.
ErrChecksum = errors.New("checksum error")

// ErrTimeout is returned when a database cannot obtain an exclusive lock
Expand Down

0 comments on commit 9109fcb

Please sign in to comment.