Skip to content

Commit

Permalink
Fix clippy lints (#3527)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Dec 2, 2024
1 parent 0ee2d63 commit 937f681
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions aggregator_core/src/datastore/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6204,14 +6204,14 @@ async fn delete_expired_collection_artifacts(ephemeral_datastore: EphemeralDatas
Q::write_outstanding_batch(tx, task.id(), &batch_identifier, &time_bucket_start)
.await;

return (
(
Some(*collection_job.id()),
None,
Some((*task.id(), batch_identifier.get_encoded().unwrap())),
outstanding_batch_id,
Some((*task.id(), batch_identifier.get_encoded().unwrap())),
time_bucket_start,
);
)
} else {
tx.put_aggregate_share_job::<0, Q, dummy::Vdaf>(&AggregateShareJob::new(
*task.id(),
Expand All @@ -6224,14 +6224,14 @@ async fn delete_expired_collection_artifacts(ephemeral_datastore: EphemeralDatas
.await
.unwrap();

return (
(
None,
Some((*task.id(), batch_identifier.get_encoded().unwrap())),
Some((*task.id(), batch_identifier.get_encoded().unwrap())),
None,
Some((*task.id(), batch_identifier.get_encoded().unwrap())),
None,
);
)
}
}

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub enum ClientBackend<'a> {
},
}

impl<'a> ClientBackend<'a> {
impl ClientBackend<'_> {
pub async fn build<V>(
&self,
test_name: &str,
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/tests/integration/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ where
aggregate_result: V::AggregateResult,
}

pub async fn collect_generic<'a, V, Q>(
pub async fn collect_generic<V, Q>(
collector: &Collector<V>,
query: Query<Q>,
aggregation_parameter: &V::AggregationParam,
Expand Down

0 comments on commit 937f681

Please sign in to comment.