File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ rand = "0.9.1"
2727walkdir = " 2"
2828serde_json = " 1.0.140"
2929tempfile = " 3.19.1"
30- test-log = { version = " 0.2.18" , features = [" trace" , " color" ] }
3130
3231[lib ]
3332bench = false
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ fn bench_account_reads(c: &mut Criterion) {
124124
125125 // Read its chunk of addresses
126126 for addr in thread_addresses {
127- let a = tx. get_account ( addr. clone ( ) ) . unwrap ( ) ;
127+ let a = tx. get_account ( & addr) . unwrap ( ) ;
128128 assert ! ( a. is_some( ) ) ;
129129 }
130130
Original file line number Diff line number Diff line change @@ -267,7 +267,6 @@ impl OverlayState {
267267 ///
268268 /// This operation is O(1) and creates no allocations. The returned OverlayState
269269 /// shares the same underlying Arc<[...]> data and only tracks different bounds.
270- /// Perfect for thread pool scenarios where each thread processes a disjoint range.
271270 pub fn sub_slice ( & self , start : usize , end : usize ) -> OverlayState {
272271 let current_len = self . len ( ) ;
273272 let end = end. min ( current_len) ;
You can’t perform that action at this time.
0 commit comments