Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
pr: mark as dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Feb 23, 2024
1 parent 97c3313 commit 02b209e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions accounts-db/src/accounts_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ impl<T: IndexValue, U: DiskIndexValue + From<T> + Into<T>> AccountsIndex<T, U> {

/// Gets the index's entry for `pubkey`, with `ancestors` and `max_root`,
/// and applies `callback` to it
#[allow(dead_code)]
pub(crate) fn get_with_and_then<R>(
&self,
pubkey: &Pubkey,
Expand Down Expand Up @@ -1175,6 +1176,7 @@ impl<T: IndexValue, U: DiskIndexValue + From<T> + Into<T>> AccountsIndex<T, U> {
}

/// Is `pubkey`, with `ancestors` and `max_root`, in the index?
#[allow(dead_code)]
pub(crate) fn contains_with(
&self,
pubkey: &Pubkey,
Expand Down

0 comments on commit 02b209e

Please sign in to comment.