diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 7e6888cb28dcf5..ef99168aa1392e 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 bd0b63a89d07e3..3c9bff5a2c0ba5 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_sdk::{ account::{AccountSharedData, ReadableAccount}, 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