From af2f067b69f85a3f68244bae31ecafa1fa3637fc Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Wed, 9 Dec 2020 15:30:52 +0900 Subject: [PATCH] Removed 'static in compression_lz4. --- src/store/compression_lz4.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();