Removed 'static in compression_lz4.

This commit is contained in:
Paul Masurel
2020-12-09 15:30:52 +09:00
parent be626083a0
commit c3e311e6b8
+1 -1
View File
@@ -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<u8>) -> io::Result<()> {
compressed.clear();