mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
run clippy
This commit is contained in:
@ -29,8 +29,7 @@ impl Agent {
|
||||
|
||||
fn find_boot_path(&self, prefix: &str) -> Result<String> {
|
||||
let vmlinuz = read_dir("/boot")?
|
||||
.filter(|x| x.is_ok())
|
||||
.map(|x| x.unwrap())
|
||||
.filter_map(|x| x.ok())
|
||||
.filter(|x| {
|
||||
x.file_name()
|
||||
.to_str()
|
||||
|
Reference in New Issue
Block a user