Skip to content

Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.

Fusion predicates: clippy's identity_op in a test

some-du6e383eea634de3
diff --git a/crates/horizon-optifine/src/fusion/predicate.rs b/crates/horizon-optifine/src/fusion/predicate.rs
index 1005aa210..36b44bc1d 100644
--- a/crates/horizon-optifine/src/fusion/predicate.rs
+++ b/crates/horizon-optifine/src/fusion/predicate.rs
@@ -335,7 +335,7 @@ mod tests {
);
assert_eq!(
p.mask(|_, q| q == Query::SameState),
- 0xff & !L,
+ !L,
"joins everywhere but left"
);
}