diff --git a/eyre/src/macros.rs b/eyre/src/macros.rs index 032f82a..054a619 100644 --- a/eyre/src/macros.rs +++ b/eyre/src/macros.rs @@ -108,9 +108,7 @@ macro_rules! bail { #[macro_export] macro_rules! ensure { ($cond:expr $(,)?) => { - if !$cond { - $crate::ensure!($cond, concat!("Condition failed: `", stringify!($cond), "`")) - } + $crate::ensure!($cond, concat!("Condition failed: `", stringify!($cond), "`")) }; ($cond:expr, $msg:literal $(,)?) => { if !$cond {