Skip to content

Commit 7ae289f

Browse files
committed
fmt
1 parent f48b45b commit 7ae289f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/impl_ops.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ mod arithmetic_ops
477477
impl_scalar_lhs_op!(bool, Commute, ^, BitXor, bitxor, "bit xor");
478478

479479
#[cfg(feature = "half")]
480-
mod ops_f16 {
480+
mod ops_f16
481+
{
481482
use super::*;
482483
impl_scalar_lhs_op!(half::f16, Commute, +, Add, add, "addition");
483484
impl_scalar_lhs_op!(half::f16, Ordered, -, Sub, sub, "subtraction");
@@ -487,7 +488,8 @@ mod arithmetic_ops
487488
}
488489

489490
#[cfg(feature = "half")]
490-
mod ops_bf16 {
491+
mod ops_bf16
492+
{
491493
use super::*;
492494
impl_scalar_lhs_op!(half::bf16, Commute, +, Add, add, "addition");
493495
impl_scalar_lhs_op!(half::bf16, Ordered, -, Sub, sub, "subtraction");
@@ -509,7 +511,8 @@ mod arithmetic_ops
509511
impl_scalar_lhs_op!(f64, Ordered, %, Rem, rem, "remainder");
510512

511513
#[cfg(feature = "half")]
512-
mod ops_complex_f16 {
514+
mod ops_complex_f16
515+
{
513516
use super::*;
514517
impl_scalar_lhs_op!(Complex<half::f16>, Commute, +, Add, add, "addition");
515518
impl_scalar_lhs_op!(Complex<half::f16>, Ordered, -, Sub, sub, "subtraction");
@@ -518,7 +521,8 @@ mod arithmetic_ops
518521
}
519522

520523
#[cfg(feature = "half")]
521-
mod ops_complex_bf16 {
524+
mod ops_complex_bf16
525+
{
522526
use super::*;
523527
impl_scalar_lhs_op!(Complex<half::bf16>, Commute, +, Add, add, "addition");
524528
impl_scalar_lhs_op!(Complex<half::bf16>, Ordered, -, Sub, sub, "subtraction");

0 commit comments

Comments
 (0)