Skip to content

Commit ce4cfe0

Browse files
committed
refactor: rename ensure_e macro to ensure
1 parent 9a672e6 commit ce4cfe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ macro_rules! format_err {
7676
/// The error will be constructed by passing all remaining arguments to [`e`].
7777
/// See its docs for details on accepted forms.
7878
#[macro_export]
79-
macro_rules! ensure_e {
79+
macro_rules! ensure {
8080
($predicate:expr, $($tt:tt)*) => {
8181
if !$predicate {
8282
$crate::bail_e!($($tt)*)

0 commit comments

Comments
 (0)