Skip to content

Commit

Permalink
Fix doc for bulk::decompress
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Oct 12, 2023
1 parent 9d7b44a commit 49fb724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bulk/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn decompress_to_buffer(

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

0 comments on commit 49fb724

Please sign in to comment.