Skip to content

Commit

Permalink
Remove [inline] attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed Jan 27, 2021
1 parent 46483cb commit 5af65f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ macro_rules! leader_field(
}

impl From<u8> for $name {
#[inline]
fn from(x: u8) -> $name {
match x {
$($val => $name::$kind),+,
Expand All @@ -577,7 +576,6 @@ macro_rules! leader_field(
}

impl From<$name> for u8 {
#[inline]
fn from(x: $name) -> u8 {
match x {
$($name::$kind => $val),+,
Expand Down

0 comments on commit 5af65f1

Please sign in to comment.