Skip to content

Commit

Permalink
Remove unused #[inline] attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Nov 13, 2019
1 parent 4cbc27d commit 6408853
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/identities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6408853

Please sign in to comment.