File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1183,7 +1183,7 @@ impl Emulator for LinearEmulator {
11831183
11841184 let mut rom_count = 0 ;
11851185 let rom_iter = match self . static_rom_image_index {
1186- None => std :: iter :: empty ( ) . collect :: < Vec < _ > > ( ) . into_iter ( ) ,
1186+ None => Vec :: new ( ) . into_iter ( ) ,
11871187 Some ( ( store, idx) ) => match Modes :: from_usize ( store) {
11881188 Some ( Modes :: RW ) => {
11891189 let mem_ro: FixedMemory < RO > = self . memory . frw_store [ idx] . clone ( ) . into ( ) ;
@@ -1221,7 +1221,7 @@ impl Emulator for LinearEmulator {
12211221 . collect :: < Vec < _ > > ( )
12221222 . into_iter ( )
12231223 }
1224- _ => std :: iter :: empty ( ) . collect :: < Vec < _ > > ( ) . into_iter ( ) ,
1224+ _ => Vec :: new ( ) . into_iter ( ) ,
12251225 } ,
12261226 } ;
12271227 let ram_initialization = & self . initial_static_ram_image ;
You can’t perform that action at this time.
0 commit comments