Skip to content

Commit

Permalink
Fix Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Oct 7, 2024
1 parent af2fb40 commit e45c760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coalesce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ fn path_script_name(path: &Record, pid: u32, ppid: u32, cwd: &[u8], exe: &[u8])
} else if k == "dev" {
if let Value::Str(r, _) = v {
p_dev = String::from_utf8_lossy(r)
.split(|c| c == ':')
.split(':')
.filter_map(|part| u64::from_str_radix(part, 16).ok())
.collect::<Vec<_>>()
.try_into()
Expand Down

0 comments on commit e45c760

Please sign in to comment.