Removed feature(quickwit) in tantivy-common.

This commit is contained in:
Paul Masurel
2022-12-22 10:19:57 +09:00
parent f39165e1e7
commit 3339a3ec05

View File

@@ -224,7 +224,6 @@ impl FileHandle for FileSlice {
self.read_bytes_slice(range)
}
#[cfg(feature = "quickwit")]
async fn read_bytes_async(&self, byte_range: Range<usize>) -> io::Result<OwnedBytes> {
self.read_bytes_slice_async(byte_range).await
}
@@ -242,7 +241,6 @@ impl FileHandle for OwnedBytes {
Ok(self.slice(range))
}
#[cfg(feature = "quickwit")]
async fn read_bytes_async(&self, range: Range<usize>) -> io::Result<OwnedBytes> {
self.read_bytes(range)
}