Skip to content

Commit d925ec6

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Fix clippy::ptr-arg lint" into main
2 parents df17b83 + 466d884 commit d925ec6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmds/evemu-record/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fn print_device_description(
120120
fn print_in_8_byte_chunks(
121121
output: &mut impl Write,
122122
prefix: &str,
123-
data: &Vec<u8>,
123+
data: &[u8],
124124
) -> Result<(), io::Error> {
125125
for (i, byte) in data.iter().enumerate() {
126126
if i % 8 == 0 {

0 commit comments

Comments
 (0)