Make Clippy happy

This commit is contained in:
Roey Darwish Dror
2019-04-14 11:35:18 +03:00
parent 5ae2d0d473
commit 2872081754
4 changed files with 5 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ pub fn self_update() -> Result<(), Error> {
.no_confirm(true)
.build()
})
.and_then(|u| u.update_extended())
.and_then(Update::update_extended)
.context(ErrorKind::SelfUpdate)?;
if let GitHubUpdateStatus::Updated(release) = &result {