We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db52d96 commit 349e113Copy full SHA for 349e113
library/src/lr35902_emulator/tests/blargg.rs
@@ -4,7 +4,7 @@ use super::{read_screen_message, read_test_rom};
4
use crate::emulator_common::{MemoryAccessor, SimpleMemoryAccessor};
5
use crate::lr35902_emulator::LR35902Emulator;
6
7
-fn load_rom(memory_accessor: &mut SimpleMemoryAccessor, rom: &Vec<u8>) {
+fn load_rom(memory_accessor: &mut SimpleMemoryAccessor, rom: &[u8]) {
8
memory_accessor.memory[0..rom.len()].clone_from_slice(rom);
9
}
10
presubmit
@@ -25,4 +25,4 @@ mkdir -p target/web_build
25
26
./pico/build.sh
27
28
-cargo clippy -- --deny "warnings"
+cargo clippy --all-targets -- --deny "warnings"
0 commit comments