Skip to content

Commit d1c8681

Browse files
committed
fix-nightly-fr
1 parent 08ce7c0 commit d1c8681

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/macro_rules.rs‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ macro_rules! error_message {
126126
/// ```
127127
#[macro_export]
128128
macro_rules! bail {
129-
($msg:literal) => {
129+
($msg:literal) => {{
130130
return ::core::result::Result::Err($crate::error_message!($msg).into());
131-
};
132-
($error:expr) => {
131+
}};
132+
($error:expr) => {{
133133
return ::core::result::Result::Err($error.into());
134-
};
135-
($($tt:tt)*) => {
134+
}};
135+
($($tt:tt)*) => {{
136136
return ::core::result::Result::Err($crate::error_message!($($tt)*).into());
137-
};
137+
}};
138138
}
139139

140140
/// Return early with an error, if a condition is not satisfied, matching

0 commit comments

Comments
 (0)