summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-01 12:10:54 +0200
committerLars Wirzenius <liw@liw.fi>2021-11-01 12:10:54 +0200
commit8a544eab46732df3b6ffd203358ddebf9c8f5fea (patch)
treecf480e978f6559801001ab4d7056d85d62d5e1b3 /src/util.rs
parent300006a9a23f1f011dbc0f84d4d0e8797e65c0c4 (diff)
downloadvmadm-8a544eab46732df3b6ffd203358ddebf9c8f5fea.tar.gz
chore: fix code formatting
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index 2db4390..c3565e0 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -31,7 +31,9 @@ pub fn expand_optional_pathbuf(maybe_path: &mut Option<PathBuf>) -> Result<(), h
Ok(())
}
-pub fn expand_optional_pathbufs(maybe_paths: &mut Option<Vec<PathBuf>>) -> Result<(), home_dir::Error> {
+pub fn expand_optional_pathbufs(
+ maybe_paths: &mut Option<Vec<PathBuf>>,
+) -> Result<(), home_dir::Error> {
if let Some(paths) = maybe_paths {
let mut expanded = vec![];
for path in paths {