ksud: clippy
This commit is contained in:
@@ -207,12 +207,12 @@ impl StockOverlay {
|
|||||||
.mount_options
|
.mount_options
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(mount.super_options)
|
.chain(mount.super_options)
|
||||||
.partition(|&(_, ref m)| m.is_none());
|
.partition(|(_, m)| m.is_none());
|
||||||
|
|
||||||
let mut overlay_opts = vec![];
|
let mut overlay_opts = vec![];
|
||||||
for (opt, val) in b {
|
for (opt, val) in b {
|
||||||
if let Some(val) = val {
|
if let Some(val) = val {
|
||||||
overlay_opts.push(format!("{}={}", opt, val));
|
overlay_opts.push(format!("{opt}={val}"));
|
||||||
} else {
|
} else {
|
||||||
log::warn!("opt empty: {}", opt);
|
log::warn!("opt empty: {}", opt);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user