Skip to content

Commit

Permalink
Removed feature(quickwit) in tantivy-common.
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton committed Dec 22, 2022
1 parent f39165e commit 3339a3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/src/file_slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 3339a3e

Please sign in to comment.