Skip to content

Commit

Permalink
ignore clippy warns happening with rust 1.69.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk authored and arajasek committed Apr 23, 2023
1 parent 7c8eab7 commit 19617fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions fvm/src/call_manager/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ where

/// Helper method to create a placeholder actor due to a send. This method does not execute any
/// constructors.
#[allow(clippy::extra_unused_type_parameters)]
fn create_placeholder_actor_from_send<K>(&mut self, addr: &Address) -> Result<ActorID>
where
K: Kernel<CallManager = Self>,
Expand Down
2 changes: 2 additions & 0 deletions ipld/hamt/tests/hamt_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ fn for_each_ranged(factory: HamtFactory, stats: Option<BSStats>, mut cids: CidCh
if next.is_none() {
break;
} else {
#[allow(clippy::unused_parens)]
assert_eq!(next.clone().unwrap(), kvs[(iterations * PAGE_SIZE)].0);
cursor = next;
}
Expand Down Expand Up @@ -528,6 +529,7 @@ fn for_each_ranged(factory: HamtFactory, stats: Option<BSStats>, mut cids: CidCh
if next.is_none() {
break;
} else {
#[allow(clippy::unused_parens)]
assert_eq!(next.clone().unwrap(), kvs[(iterations * PAGE_SIZE)].0);
cursor = next;
}
Expand Down

0 comments on commit 19617fe

Please sign in to comment.