We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61a4c2 commit 9159cc6Copy full SHA for 9159cc6
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