Skip to content

Commit

Permalink
Merge pull request private-attribution#1000 from danielmasny/fix_clippy
Browse files Browse the repository at this point in the history
add #[allow(clippy::diverging_sub_expression)]
  • Loading branch information
danielmasny authored Apr 5, 2024
2 parents daf74b8 + 535f8a7 commit 8894929
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ipa-core/src/test_fixture/world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ impl<const SHARDS: usize> Runner<WithShards<SHARDS>> for TestWorld<WithShards<SH
.await
}

#[allow(clippy::diverging_sub_expression)]
async fn malicious<'a, I, A, O, H, R>(&'a self, _input: I, _helper_fn: H) -> [O; 3]
where
I: IntoShares<A> + Send + 'static,
Expand All @@ -414,6 +415,7 @@ impl<const SHARDS: usize> Runner<WithShards<SHARDS>> for TestWorld<WithShards<SH
unimplemented!()
}

#[allow(clippy::diverging_sub_expression)]
async fn upgraded_malicious<'a, F, I, A, M, O, H, R, P>(
&'a self,
_input: I,
Expand Down

0 comments on commit 8894929

Please sign in to comment.