Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazhafiz committed Apr 6, 2023
1 parent f45c6f9 commit f83a3ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions crates/abq_queue/src/persistence/manifest.rs
Expand Up @@ -38,6 +38,10 @@ impl ManifestView {
self.items.len()
}

pub fn is_empty(&self) -> bool {
self.items.is_empty()
}

fn get_partition_for_entity(self, entity_tag: Tag) -> Vec<WorkerTest> {
let Self {
mut items,
Expand Down
2 changes: 1 addition & 1 deletion crates/abq_queue/tests/integration.rs
Expand Up @@ -275,7 +275,7 @@ fn sort_results_owned(results: &mut [FlatResult<'_>]) -> Vec<(u32, String)> {
.collect()
}

fn flatten_queue_results<'a>(
fn flatten_queue_results(
results: impl std::borrow::Borrow<OpaqueLazyAssociatedTestResults>,
) -> (Vec<(u32, String)>, Summary) {
let results = results.borrow();
Expand Down

0 comments on commit f83a3ce

Please sign in to comment.