Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a committed Jul 3, 2024
1 parent 0b00267 commit 8eabda8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions quickwit/quickwit-indexing/src/actors/indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ impl Indexer {
docstore_blocksize: indexing_settings.docstore_blocksize,
docstore_compression,
docstore_compress_dedicated_thread: true,
..Default::default()
};
let cooperative_indexing_opt: Option<CooperativeIndexingCycle> =
cooperative_indexing_permits_opt.map(|cooperative_indexing_permits| {
Expand Down Expand Up @@ -881,8 +880,7 @@ mod tests {
index_checkpoint.source_delta,
SourceCheckpointDelta::from_range(4..8)
);
let first_split = batch.splits.into_iter().next().unwrap().finalize()?;
assert!(first_split.index.settings().sort_by_field.is_none());
batch.splits.into_iter().next().unwrap().finalize()?;
universe.assert_quit().await;
Ok(())
}
Expand Down

0 comments on commit 8eabda8

Please sign in to comment.