Skip to content

Commit

Permalink
Merge branch 'master' into bump-owo-colors-for-everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara authored Apr 25, 2024
2 parents 5aea38b + 1369e09 commit be43dae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eyre/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit be43dae

Please sign in to comment.