diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 29768a0fc6aa7e..cca611fd480c6e 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -59,6 +59,7 @@ use std::{ collections::HashMap, io::{BufReader, Cursor, Error as IOError, Read}, mem, + ops::RangeInclusive, path::{Path, PathBuf}, rc::Rc, sync::atomic::{AtomicBool, AtomicU64, Ordering}, @@ -1707,7 +1708,7 @@ impl Bank { fn pubkey_range_by_partition( (start_index, end_index, partition_count): Partition, - ) -> std::ops::RangeInclusive { + ) -> RangeInclusive { type Prefix = u64; const PREFIX_SIZE: usize = mem::size_of::(); let partition_width = Prefix::max_value() / partition_count;