Skip to content

Commit 349e113

Browse files
committed
Run clippy on all targets
1 parent db52d96 commit 349e113

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/src/lr35902_emulator/tests/blargg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::{read_screen_message, read_test_rom};
44
use crate::emulator_common::{MemoryAccessor, SimpleMemoryAccessor};
55
use crate::lr35902_emulator::LR35902Emulator;
66

7-
fn load_rom(memory_accessor: &mut SimpleMemoryAccessor, rom: &Vec<u8>) {
7+
fn load_rom(memory_accessor: &mut SimpleMemoryAccessor, rom: &[u8]) {
88
memory_accessor.memory[0..rom.len()].clone_from_slice(rom);
99
}
1010

presubmit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ mkdir -p target/web_build
2525

2626
./pico/build.sh
2727

28-
cargo clippy -- --deny "warnings"
28+
cargo clippy --all-targets -- --deny "warnings"

0 commit comments

Comments
 (0)