diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-25 12:50:07 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-25 13:16:01 +0200 |
commit | 7d906d7f5436705ec3f2f3f5c4d8629c79f98fde (patch) | |
tree | c76e54aeed34d49afd4b020653ebaf1ea7c50e9e /src/install.rs | |
parent | a70d80b9cc5fb1b2487339bdef4152796ed2ff8d (diff) | |
download | vmadm-7d906d7f5436705ec3f2f3f5c4d8629c79f98fde.tar.gz |
refactor: clean up warnings found by clippy
Diffstat (limited to 'src/install.rs')
-rw-r--r-- | src/install.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.rs b/src/install.rs index e74e6ba..94c703c 100644 --- a/src/install.rs +++ b/src/install.rs @@ -116,7 +116,7 @@ pub fn virt_install(args: &VirtInstallArgs, iso: &Path) -> Result<PathBuf, VirtI .arg("--noautoconsole") .arg("--quiet") .output() - .map_err(|err| VirtInstallError::Run(err))?; + .map_err(VirtInstallError::Run)?; if !r.status.success() { let stderr = String::from_utf8(r.stderr)?; return Err(VirtInstallError::VirtInstallFailed(stderr)); |