fix clippy needless_return warning
This commit is contained in:
parent
55d001d9f8
commit
57ace0297b
1 changed files with 1 additions and 1 deletions
|
|
@ -1403,7 +1403,7 @@ async fn self_update(url: &str, expected_checksum: &str) -> Result<()> {
|
||||||
.args(&args[1..])
|
.args(&args[1..])
|
||||||
.exec();
|
.exec();
|
||||||
// exec() only returns on error
|
// exec() only returns on error
|
||||||
return Err(format!("exec() failed: {}", err).into());
|
Err(format!("exec() failed: {}", err).into())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue