Skip to content

Commit aa3702a

Browse files
authored
docs: Fix undefined WithDecoderConcurrency (#816)
1 parent ea3eeea commit aa3702a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zstd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ import "github.com/klauspost/compress/zstd"
304304

305305
// Create a reader that caches decompressors.
306306
// For this operation type we supply a nil Reader.
307-
var decoder, _ = zstd.NewReader(nil, WithDecoderConcurrency(0))
307+
var decoder, _ = zstd.NewReader(nil, zstd.WithDecoderConcurrency(0))
308308

309309
// Decompress a buffer. We don't supply a destination buffer,
310310
// so it will be allocated by the decoder.

0 commit comments

Comments
 (0)