refactor: make cargo clippy happier
This commit is contained in:
parent
1dbde0e1c1
commit
8e041f90dd
6 changed files with 23 additions and 31 deletions
|
@ -62,7 +62,6 @@ impl<'a, T: Endpoint> FromData<'a> for Ruma<T> {
|
|||
None => return Failure((Status::Unauthorized, ())),
|
||||
Some((user_id, device_id)) => (Some(user_id), Some(device_id)),
|
||||
}
|
||||
|
||||
} else {
|
||||
(None, None)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue