Skip to content

Commit

Permalink
fix clippy error (solana-labs#33317)
Browse files Browse the repository at this point in the history
* fix clippy error

* fix fmt that somehow got merged
  • Loading branch information
jeffwashington authored Sep 20, 2023
1 parent 58f980a commit 7a8a492
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bucket_map/src/bucket_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl<O: BucketOccupied> BucketStorage<O> {

/// delete the backing file on disk
fn delete(&self) {
_ = remove_file(&self.path);
_ = remove_file(&self.path);
}

pub fn max_search(&self) -> u64 {
Expand Down
2 changes: 1 addition & 1 deletion vote/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
#![allow(clippy::integer_arithmetic)]
#![allow(clippy::arithmetic_side_effects)]

pub mod vote_account;
pub mod vote_parser;
Expand Down

0 comments on commit 7a8a492

Please sign in to comment.