From 8fabb9ef634074d0419bb764e014168c170fca03 Mon Sep 17 00:00:00 2001 From: threema-donat <129288638+threema-donat@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:34:59 +0200 Subject: [PATCH] feat: Warn when unwrap is used --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index cc316ad4..a59beb59 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -106,6 +106,8 @@ //! } //! # } //! ``` +#![warn(clippy::unwrap_used)] + #[cfg(not(any(feature = "openssl", feature = "ring")))] compile_error!("either feature \"openssl\" or feature \"ring\" has to be enabled");