Skip to content

Commit 6408853

Browse files
committed
Remove unused #[inline] attributes
1 parent 4cbc27d commit 6408853

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/cast.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ pub trait ToPrimitive {
8686

8787
/// Converts the value of `self` to a `u64`. If the value cannot be
8888
/// represented by a `u64`, then `None` is returned.
89-
#[inline]
9089
fn to_u64(&self) -> Option<u64>;
9190

9291
/// Converts the value of `self` to a `u128`. If the value cannot be

src/identities.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ pub trait Zero: Sized + Add<Self, Output = Self> {
2525
}
2626

2727
/// Returns `true` if `self` is equal to the additive identity.
28-
#[inline]
2928
fn is_zero(&self) -> bool;
3029
}
3130

0 commit comments

Comments
 (0)