mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-07-03 01:02:55 +00:00
chore: add linter config and related code cleanup
This commit is contained in:
@ -123,8 +123,7 @@ where
|
||||
}
|
||||
_ => None,
|
||||
})
|
||||
.filter(Option::is_some)
|
||||
.map(|item| format!(" - {}\n", item.unwrap()))
|
||||
.filter_map(|item| item.map(|item| format!(" - {item}\n")))
|
||||
.collect::<Vec<_>>()
|
||||
.join("");
|
||||
|
||||
|
Reference in New Issue
Block a user