diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-06 09:41:02 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-06 09:41:02 +0300 |
commit | 6fc3ad8a6758bb6c764ba208d814c1ab82d764ac (patch) | |
tree | c7871da86dbb89792af674aeb336a830fe3d7005 /src/bin | |
parent | e403fab2890cf33fc70bc9becf5e7fd6523008e5 (diff) | |
download | vmadm-6fc3ad8a6758bb6c764ba208d814c1ab82d764ac.tar.gz |
chore: fix small problems found by clippy
Sponsored-by: author
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/vmadm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/vmadm.rs b/src/bin/vmadm.rs index 7a4493e..a288036 100644 --- a/src/bin/vmadm.rs +++ b/src/bin/vmadm.rs @@ -141,8 +141,8 @@ fn main() -> anyhow::Result<()> { } fn get_specs(common: &CommonOptions, spec: &Path) -> anyhow::Result<Vec<Specification>> { - let config = config(&common)?; - let specs = Specification::from_file(&config, &spec)?; + let config = config(common)?; + let specs = Specification::from_file(&config, spec)?; Ok(specs) } |