We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d7b44a commit 49fb724Copy full SHA for 49fb724
1 file changed
src/bulk/mod.rs
@@ -49,7 +49,7 @@ pub fn decompress_to_buffer(
49
50
/// Decompresses a block of data and returns the decompressed result.
51
///
52
-/// The decompressed data should be less than `capacity` bytes,
+/// The decompressed data should be at most `capacity` bytes,
53
/// or an error will be returned.
54
pub fn decompress(data: &[u8], capacity: usize) -> io::Result<Vec<u8>> {
55
Decompressor::new()?.decompress(data, capacity)
0 commit comments