Make clippy happy in Windows

This commit is contained in:
Roey Darwish Dror
2019-10-01 20:32:32 +03:00
parent 179ef615df
commit 0bbe81586a
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ pub fn self_update() -> Result<(), Error> {
.spawn()
.and_then(|mut c| c.wait())
.context(ErrorKind::SelfUpdate)?;
Err(ErrorKind::Upgraded(status))?
return Err(ErrorKind::Upgraded(status).into());
}
}
}