diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index d6aa87c13ca0ab..87052a1e5b9f4d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -41,7 +41,6 @@ pub mod epoch_stakes; pub mod genesis_utils; pub mod hardened_unpack; pub mod in_mem_accounts_index; -mod index_list; pub mod inline_spl_associated_token_account; pub mod inline_spl_token; pub mod inline_spl_token_2022; diff --git a/runtime/src/read_only_accounts_cache.rs b/runtime/src/read_only_accounts_cache.rs index 35b014a49c11e3..c443c9bd8a5253 100644 --- a/runtime/src/read_only_accounts_cache.rs +++ b/runtime/src/read_only_accounts_cache.rs @@ -1,7 +1,7 @@ //! ReadOnlyAccountsCache used to store accounts, such as executable accounts, //! which can be large, loaded many times, and rarely change. use { - crate::index_list::{Index, IndexList}, + ::index_list::{Index, IndexList}, dashmap::{mapref::entry::Entry, DashMap}, solana_measure::measure_us, solana_sdk::{ diff --git a/runtime/src/index_list.rs b/runtime/src/read_only_accounts_cache/index_list.rs similarity index 100% rename from runtime/src/index_list.rs rename to runtime/src/read_only_accounts_cache/index_list.rs