diff --git a/src/store/compression_lz4.rs b/src/store/compression_lz4.rs index 07a1c9127..9fd079d92 100644 --- a/src/store/compression_lz4.rs +++ b/src/store/compression_lz4.rs @@ -3,7 +3,7 @@ use std::io::{self, Read, Write}; /// Name of the compression scheme used in the doc store. /// /// This name is appended to the version string of tantivy. -pub const COMPRESSION: &'static str = "lz4"; +pub const COMPRESSION: &str = "lz4"; pub fn compress(uncompressed: &[u8], compressed: &mut Vec) -> io::Result<()> { compressed.clear();