We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78e956 commit f8a4e3fCopy full SHA for f8a4e3f
src/int/mul.rs
@@ -102,7 +102,7 @@ mod tests {
102
let mut overflow = 2;
103
let r = f(a, b, &mut overflow);
104
if overflow != 0 && overflow != 1 {
105
- return None
+ panic!("Invalid value {} for overflow", overflow);
106
}
107
Some((r, overflow))
108
@@ -114,7 +114,7 @@ mod tests {
114
115
116
117
118
119
120
@@ -138,7 +138,7 @@ mod tests_i128 {
138
139
140
141
142
143
144
0 commit comments