We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a672e6 commit ce4cfe0Copy full SHA for ce4cfe0
src/macros.rs
@@ -76,7 +76,7 @@ macro_rules! format_err {
76
/// The error will be constructed by passing all remaining arguments to [`e`].
77
/// See its docs for details on accepted forms.
78
#[macro_export]
79
-macro_rules! ensure_e {
+macro_rules! ensure {
80
($predicate:expr, $($tt:tt)*) => {
81
if !$predicate {
82
$crate::bail_e!($($tt)*)
0 commit comments