From 5724b87a1c9fcf66e6205af6732fc07e4c9d909d Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 17 Dec 2019 09:09:24 +0000 Subject: Update static_assertions to 1.1.0 This patch updates the static_assertions dependency to 1.1.0. This bumps the minimum supported Rust version to 1.37.0. As the labels have been removed in version 1.0.0, we can now call the assertion macros without an additional label. --- src/util.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/util.rs') diff --git a/src/util.rs b/src/util.rs index 7b12afb..4539bd6 100644 --- a/src/util.rs +++ b/src/util.rs @@ -80,7 +80,6 @@ macro_rules! enum_u8 { macro_rules! assert_maximum_size { ($i:ident; $t:ident, $e: expr) => { ::static_assertions::const_assert!( - $i; ::core::mem::size_of::<$t>() <= $e ); } -- cgit v1.2.1