8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a53c3 commit 928d08dCopy full SHA for 928d08d
compiler/rustc_serialize/src/int_overflow.rs
@@ -20,6 +20,7 @@ macro_rules! impl_debug_strict_add {
20
($( $ty:ty )*) => {
21
$(
22
impl DebugStrictAdd for $ty {
23
+ #[inline(always)]
24
fn debug_strict_add(self, other: Self) -> Self {
25
if cfg!(debug_assertions) {
26
self + other
@@ -42,6 +43,7 @@ macro_rules! impl_debug_strict_sub {
42
43
44
45
impl DebugStrictSub for $ty {
46
47
fn debug_strict_sub(self, other: Self) -> Self {
48
49
self - other
0 commit comments