Procházet zdrojové kódy

Remove unused #[inline] attributes

Josh Stone před 5 roky
rodič
revize
6408853e7d
2 změnil soubory, kde provedl 0 přidání a 2 odebrání
  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;
 }