Skip to content

Commit

Permalink
fix doc for compress_to_vec
Browse files Browse the repository at this point in the history
  • Loading branch information
KillingSpark committed Dec 21, 2024
1 parent f61fedc commit c3022ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn compress<R: Read, W: Write>(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];
Expand Down

0 comments on commit c3022ed

Please sign in to comment.