diff options
Diffstat (limited to 'crates/stdx')
-rw-r--r-- | crates/stdx/src/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/stdx/src/macros.rs b/crates/stdx/src/macros.rs index 263b938e3..4f5c6100d 100644 --- a/crates/stdx/src/macros.rs +++ b/crates/stdx/src/macros.rs | |||
@@ -66,7 +66,7 @@ macro_rules! impl_from { | |||
66 | /// Shamelessly stolen from: https://www.sqlite.org/assert.html | 66 | /// Shamelessly stolen from: https://www.sqlite.org/assert.html |
67 | #[macro_export] | 67 | #[macro_export] |
68 | macro_rules! assert_never { | 68 | macro_rules! assert_never { |
69 | ($cond:expr) => { $crate::assert_always!($cond, "") }; | 69 | ($cond:expr) => { $crate::assert_never!($cond, "") }; |
70 | ($cond:expr, $($fmt:tt)*) => {{ | 70 | ($cond:expr, $($fmt:tt)*) => {{ |
71 | let value = $cond; | 71 | let value = $cond; |
72 | if value { | 72 | if value { |