1
0
Fork 0

Prevent clippy complaining at method

It's not incorrectly wrapped. We care about the return type being `Option`.
Dieser Commit ist enthalten in:
Jake Howard 2021-03-27 14:36:50 +00:00
Ursprung 49af9cf4f5
Commit 47c2625d38
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 57AFB45680EDD477

Datei anzeigen

@ -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)
}