Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
check equality of EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
keisku committed Oct 9, 2021
1 parent 11f6ef4 commit ec54e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompressor.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (d *DecompressorIter) Get() (t uint32, v float64) {

// Err returns error during decompression.
func (d *DecompressorIter) Err() error {
if d.err == io.EOF {
if errors.Is(d.err, io.EOF) {
return nil
}
return d.err
Expand Down

0 comments on commit ec54e93

Please sign in to comment.