summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-06 09:41:02 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-06 09:41:02 +0300
commit6fc3ad8a6758bb6c764ba208d814c1ab82d764ac (patch)
treec7871da86dbb89792af674aeb336a830fe3d7005 /src/util.rs
parente403fab2890cf33fc70bc9becf5e7fd6523008e5 (diff)
downloadvmadm-6fc3ad8a6758bb6c764ba208d814c1ab82d764ac.tar.gz
chore: fix small problems found by clippy
Sponsored-by: author
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index c641ea6..9a86ea0 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -44,7 +44,7 @@ pub fn expand_optional_pathbufs(maybe_paths: &mut Option<Vec<PathBuf>>) {
if let Some(paths) = maybe_paths {
let mut expanded = vec![];
for path in paths {
- expanded.push(expand_tilde(&path));
+ expanded.push(expand_tilde(path));
}
*maybe_paths = Some(expanded);
}