Skip to content

Commit dea5752

Browse files
authored
Remove unnecessary parens. (#839)
1 parent 9fa96fa commit dea5752

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/core_arch/src/x86/sse41.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ pub const _MM_FROUND_NO_EXC: i32 = 0x08;
3535
pub const _MM_FROUND_NINT: i32 = 0x00;
3636
/// round down and do not suppress exceptions
3737
#[stable(feature = "simd_x86", since = "1.27.0")]
38-
pub const _MM_FROUND_FLOOR: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_TO_NEG_INF);
38+
pub const _MM_FROUND_FLOOR: i32 = _MM_FROUND_RAISE_EXC | _MM_FROUND_TO_NEG_INF;
3939
/// round up and do not suppress exceptions
4040
#[stable(feature = "simd_x86", since = "1.27.0")]
41-
pub const _MM_FROUND_CEIL: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_TO_POS_INF);
41+
pub const _MM_FROUND_CEIL: i32 = _MM_FROUND_RAISE_EXC | _MM_FROUND_TO_POS_INF;
4242
/// truncate and do not suppress exceptions
4343
#[stable(feature = "simd_x86", since = "1.27.0")]
44-
pub const _MM_FROUND_TRUNC: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_TO_ZERO);
44+
pub const _MM_FROUND_TRUNC: i32 = _MM_FROUND_RAISE_EXC | _MM_FROUND_TO_ZERO;
4545
/// use MXCSR.RC and do not suppress exceptions; see
4646
/// `vendor::_MM_SET_ROUNDING_MODE`
4747
#[stable(feature = "simd_x86", since = "1.27.0")]
48-
pub const _MM_FROUND_RINT: i32 = (_MM_FROUND_RAISE_EXC | _MM_FROUND_CUR_DIRECTION);
48+
pub const _MM_FROUND_RINT: i32 = _MM_FROUND_RAISE_EXC | _MM_FROUND_CUR_DIRECTION;
4949
/// use MXCSR.RC and suppress exceptions; see `vendor::_MM_SET_ROUNDING_MODE`
5050
#[stable(feature = "simd_x86", since = "1.27.0")]
51-
pub const _MM_FROUND_NEARBYINT: i32 = (_MM_FROUND_NO_EXC | _MM_FROUND_CUR_DIRECTION);
51+
pub const _MM_FROUND_NEARBYINT: i32 = _MM_FROUND_NO_EXC | _MM_FROUND_CUR_DIRECTION;
5252

5353
/// Blend packed 8-bit integers from `a` and `b` using `mask`
5454
///

0 commit comments

Comments
 (0)