Skip to content

Commit

Permalink
Have IndexOffset implement Copy, Clone, Debug, Eq, and PartialEq.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhchiang-sol committed Nov 7, 2023
1 parent 4cd8120 commit 3acf48e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions accounts-db/src/tiered_storage/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ pub enum AccountIndexFormat {
/// The offset to an account/address entry in the accounts index block.
/// This can be used to obtain the AccountOffset and address by looking through
/// the accounts index block.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct IndexOffset(usize);

impl AccountIndexFormat {
Expand Down

0 comments on commit 3acf48e

Please sign in to comment.