1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-01 23:44:47 +00:00

Cleanups and Fixes for Emergency Access

- Several cleanups and code optimizations for Emergency Access
- Fixed a race-condition regarding jobs for Emergency Access
- Some other small changes like `allow(clippy::)` removals

Fixes #2925
This commit is contained in:
BlackDex 2022-11-26 19:07:28 +01:00
commit 4aa6dd22bb
No known key found for this signature in database
GPG key ID: 58C80A2AA6C765E1
12 changed files with 173 additions and 153 deletions

View file

@ -168,7 +168,6 @@ impl<S> MapResult<S> for Option<S> {
}
}
#[allow(clippy::unnecessary_wraps)]
const fn _has_source<T>(e: T) -> Option<T> {
Some(e)
}