Skip to content

Commit 20305b4

Browse files
committed
cargo fmt
1 parent b4354ed commit 20305b4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

node-graph/gcore/src/ops.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ fn clamp<T: core::cmp::PartialOrd>(
337337
fn equals<U: core::cmp::PartialEq<T>, T>(
338338
_: impl Ctx,
339339
#[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)] value: T,
340-
#[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)]
341-
other_value: U,
340+
#[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)] other_value: U,
342341
) -> bool {
343342
other_value == value
344343
}
@@ -348,8 +347,7 @@ fn equals<U: core::cmp::PartialEq<T>, T>(
348347
fn not_equals<U: core::cmp::PartialEq<T>, T>(
349348
_: impl Ctx,
350349
#[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)] value: T,
351-
#[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)]
352-
other_value: U,
350+
#[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)] other_value: U,
353351
) -> bool {
354352
other_value != value
355353
}

0 commit comments

Comments
 (0)