aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-12-17 09:09:24 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-12-17 10:17:44 +0100
commit5724b87a1c9fcf66e6205af6732fc07e4c9d909d (patch)
treeda6f98c1186365ab9ce594e7395b99ef9d9a1f39 /src/util.rs
parent1dfd8694c6dfa31ba154456cd17ef2efe6bd7c7a (diff)
downloadntw-5724b87a1c9fcf66e6205af6732fc07e4c9d909d.tar.gz
ntw-5724b87a1c9fcf66e6205af6732fc07e4c9d909d.tar.bz2
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.
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs1
1 files changed, 0 insertions, 1 deletions
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
);
}