Skip to content

Commit

Permalink
Add missing inline attribute to Not impl for Wrapping<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
inrustwetrust committed May 6, 2015
1 parent d8b64c7 commit 48636f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/num/wrapping.rs
Expand Up @@ -123,6 +123,7 @@ macro_rules! wrapping_impl {
impl Not for Wrapping<$t> {
type Output = Wrapping<$t>;

#[inline(always)]
fn not(self) -> Wrapping<$t> {
Wrapping(!self.0)
}
Expand Down

0 comments on commit 48636f3

Please sign in to comment.