Skip to content

Commit

Permalink
zstd: Read doc typo
Browse files Browse the repository at this point in the history
should say "read"
  • Loading branch information
dezza authored Nov 12, 2024
1 parent 826a08c commit 501e4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zstd/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewReader(r io.Reader, opts ...DOption) (*Decoder, error) {
}

// Read bytes from the decompressed stream into p.
// Returns the number of bytes written and any error that occurred.
// Returns the number of bytes read and any error that occurred.
// When the stream is done, io.EOF will be returned.
func (d *Decoder) Read(p []byte) (int, error) {
var n int
Expand Down

0 comments on commit 501e4d7

Please sign in to comment.