Fix all clippy warnings, shorten line len in client_server
This commit is contained in:
parent
3ccbd02081
commit
62df9ca580
5 changed files with 155 additions and 100 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue