mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-21 20:35:28 +03:00
Prevent clippy
complaining at method
It's not incorrectly wrapped. We care about the return type being `Option`.
This commit is contained in:
parent
49af9cf4f5
commit
47c2625d38
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ impl<S> MapResult<S> for Option<S> {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::unnecessary_wraps)]
|
||||
const fn _has_source<T>(e: T) -> Option<T> {
|
||||
Some(e)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue