diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-15 09:43:08 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-15 09:43:08 +0000 |
commit | 054e2061521292a72748510f3f6cb7c8b1e8611b (patch) | |
tree | c1660a95eae4aaa57ea5546de0d81678d49f68f1 /crates/stdx/src | |
parent | dc48de28d8460903dbfc9454c8cae0e17d62e9c1 (diff) | |
parent | d5095329a1c12e93653d8de4a93f0b4f5cad4c6e (diff) |
Merge #7272
7272: Group file source edits by FileId r=matklad a=Veykril
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/stdx/src')
-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 { |