diff --git a/src/block/compress.rs b/src/block/compress.rs index 92899fc..cad492a 100644 --- a/src/block/compress.rs +++ b/src/block/compress.rs @@ -590,7 +590,6 @@ fn copy_literals_wild(output: &mut impl Sink, input: &[u8], input_start: usize, /// `get_maximum_output_size`. /// /// Returns the number of bytes written (compressed) into `output`. - #[inline] pub(crate) fn compress_into_sink_with_dict( input: &[u8], diff --git a/src/block/hashtable.rs b/src/block/hashtable.rs index 89e83dc..77aebe2 100644 --- a/src/block/hashtable.rs +++ b/src/block/hashtable.rs @@ -12,7 +12,7 @@ use alloc::boxed::Box; /// /// Every four bytes is assigned an entry. When this number is lower, fewer entries exists, and /// thus collisions are more likely, hurting the compression ratio. - +/// /// hashes and right shifts to a maximum value of 16bit, 65535 /// The right shift is done in order to not exceed, the hashtables capacity #[inline] diff --git a/src/sink.rs b/src/sink.rs index 59ec997..1672dca 100644 --- a/src/sink.rs +++ b/src/sink.rs @@ -111,7 +111,7 @@ impl<'a> SliceSink<'a> { } } -impl<'a> Sink for SliceSink<'a> { +impl Sink for SliceSink<'_> { /// Returns a raw ptr to the first unfilled byte of the Sink. Analogous to `[pos..].as_ptr()`. #[inline] #[cfg(not(all(feature = "safe-encode", feature = "safe-decode")))]