Skip to content

Commit 49fb724

Browse files
committed
Fix doc for bulk::decompress
1 parent 9d7b44a commit 49fb724

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bulk/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn decompress_to_buffer(
4949

5050
/// Decompresses a block of data and returns the decompressed result.
5151
///
52-
/// The decompressed data should be less than `capacity` bytes,
52+
/// The decompressed data should be at most `capacity` bytes,
5353
/// or an error will be returned.
5454
pub fn decompress(data: &[u8], capacity: usize) -> io::Result<Vec<u8>> {
5555
Decompressor::new()?.decompress(data, capacity)

0 commit comments

Comments
 (0)