Pārlūkot izejas kodu

Remove unused #[inline] attributes

Josh Stone 5 gadi atpakaļ
vecāks
revīzija
6408853e7d
2 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 1
      src/cast.rs
  2. 0 1
      src/identities.rs

+ 0 - 1
src/cast.rs

@@ -86,7 +86,6 @@ pub trait ToPrimitive {
 
     /// Converts the value of `self` to a `u64`. If the value cannot be
     /// represented by a `u64`, then `None` is returned.
-    #[inline]
     fn to_u64(&self) -> Option<u64>;
 
     /// Converts the value of `self` to a `u128`. If the value cannot be

+ 0 - 1
src/identities.rs

@@ -25,7 +25,6 @@ pub trait Zero: Sized + Add<Self, Output = Self> {
     }
 
     /// Returns `true` if `self` is equal to the additive identity.
-    #[inline]
     fn is_zero(&self) -> bool;
 }