vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 47c2625d38f902c200e083da4ea58fc40bfe3775
parent 49af9cf4f5f8264384c7fa9063299f44e7536068
Author: Jake Howard <git@theorangeone.net>
Date:   Sat, 27 Mar 2021 14:36:50 +0000

Prevent `clippy` complaining at method

It's not incorrectly wrapped. We care about the return type being `Option`.

Diffstat:
Msrc/error.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/error.rs b/src/error.rs @@ -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) }