Fix all clippy warnings, shorten line len in client_server

This commit is contained in:
Devin Ragotzy
2020-07-25 23:56:50 -04:00
committed by timokoesters
parent 3ccbd02081
commit 62df9ca580
5 changed files with 155 additions and 100 deletions

View File

@@ -42,7 +42,7 @@ impl Uiaa {
.map(|session| {
Ok::<_, Error>(self.get_uiaa_session(&user_id, &device_id, session)?)
})
.unwrap_or(Ok(uiaainfo.clone()))?;
.unwrap_or_else(|| Ok(uiaainfo.clone()))?;
// Find out what the user completed
match &**kind {