diff options
Diffstat (limited to 'vendor/ahash/src/convert.rs')
-rw-r--r-- | vendor/ahash/src/convert.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/vendor/ahash/src/convert.rs b/vendor/ahash/src/convert.rs index 4c0a00eb7..fc47baabb 100644 --- a/vendor/ahash/src/convert.rs +++ b/vendor/ahash/src/convert.rs @@ -7,17 +7,13 @@ macro_rules! convert { impl Convert<$b> for $a { #[inline(always)] fn convert(self) -> $b { - unsafe { - core::mem::transmute::<$a, $b>(self) - } + unsafe { core::mem::transmute::<$a, $b>(self) } } } impl Convert<$a> for $b { #[inline(always)] fn convert(self) -> $a { - unsafe { - core::mem::transmute::<$b, $a>(self) - } + unsafe { core::mem::transmute::<$b, $a>(self) } } } }; |