We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4354ed commit 20305b4Copy full SHA for 20305b4
node-graph/gcore/src/ops.rs
@@ -337,8 +337,7 @@ fn clamp<T: core::cmp::PartialOrd>(
337
fn equals<U: core::cmp::PartialEq<T>, T>(
338
_: impl Ctx,
339
#[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,
+ #[implementations(f64, &f64, f32, &f32, u32, &u32, DVec2, &DVec2, &str)] other_value: U,
342
) -> bool {
343
other_value == value
344
}
@@ -348,8 +347,7 @@ fn equals<U: core::cmp::PartialEq<T>, T>(
348
347
fn not_equals<U: core::cmp::PartialEq<T>, T>(
349
350
351
352
353
354
other_value != value
355
0 commit comments