Skip to content

Commit d7efc76

Browse files
committed
tidy line length
1 parent f857199 commit d7efc76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustc_mir/interpret/intrinsics.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
139139
Scalar::from_uint(1u128 << (num_bits - 1), Size::from_bits(num_bits))
140140
}
141141
} else {
142-
Scalar::from_uint(u128::max_value() >> (128 - num_bits), Size::from_bits(num_bits))
142+
Scalar::from_uint(u128::max_value() >> (128 - num_bits),
143+
Size::from_bits(num_bits))
143144
};
144145
self.write_scalar(val, dest)?;
145146
} else {
@@ -156,7 +157,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
156157
let val = if l.layout.abi.is_signed() {
157158
if first_term & (1 << (num_bits-1)) == 0 { // first term is positive
158159
// so overflow is positive
159-
Scalar::from_uint((1u128 << (num_bits - 1)) - 1, Size::from_bits(num_bits))
160+
Scalar::from_uint((1u128 << (num_bits - 1)) - 1,
161+
Size::from_bits(num_bits))
160162
} else {
161163
// if first term negative, overflow must be negative
162164
Scalar::from_uint(1u128 << (num_bits - 1), Size::from_bits(num_bits))

0 commit comments

Comments
 (0)