From 5af65f1684affc7934d572343641c484799dbac5 Mon Sep 17 00:00:00 2001 From: Anatoly Ikorsky Date: Wed, 27 Jan 2021 13:19:18 +0300 Subject: [PATCH] Remove [inline] attributes --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8c9df5f..e76ae6f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -567,7 +567,6 @@ macro_rules! leader_field( } impl From for $name { - #[inline] fn from(x: u8) -> $name { match x { $($val => $name::$kind),+, @@ -577,7 +576,6 @@ macro_rules! leader_field( } impl From<$name> for u8 { - #[inline] fn from(x: $name) -> u8 { match x { $($name::$kind => $val),+,