From c3022ede3c68b8e6bb4bd7fa5daa77eb5aa83815 Mon Sep 17 00:00:00 2001 From: Moritz Borcherding Date: Sat, 21 Dec 2024 20:42:55 +0100 Subject: [PATCH] fix doc for compress_to_vec --- src/encoding/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoding/mod.rs b/src/encoding/mod.rs index f512720..06f1ffd 100644 --- a/src/encoding/mod.rs +++ b/src/encoding/mod.rs @@ -27,7 +27,7 @@ pub fn compress(source: R, target: W, level: CompressionLevel frame_enc.compress(); } -/// Convenience function to compress some source into a target without reusing any resources of the compressor into a Vec +/// Convenience function to compress some source into a Vec without reusing any resources of the compressor /// ```rust /// use ruzstd::encoding::{compress_to_vec, CompressionLevel}; /// let data: &[u8] = &[0,0,0,0,0,0,0,0,0,0,0,0];