From 49fb724c692b2d4199995ba3dca5f78567bb634e Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Thu, 12 Oct 2023 10:21:30 -0400 Subject: [PATCH] Fix doc for bulk::decompress --- src/bulk/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bulk/mod.rs b/src/bulk/mod.rs index e8382b65..b27fc3b9 100644 --- a/src/bulk/mod.rs +++ b/src/bulk/mod.rs @@ -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> { Decompressor::new()?.decompress(data, capacity)