소스 검색

Remove unused #[inline] attributes

Josh Stone 5 년 전
부모
커밋
6408853e7d
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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;
 }