diff --git a/src/gamedata/score_checkers.rs b/src/gamedata/score_checkers.rs index 909613b..da5085e 100644 --- a/src/gamedata/score_checkers.rs +++ b/src/gamedata/score_checkers.rs @@ -139,6 +139,7 @@ pub enum Direction { DOWNRIGHT, } // serves nothing except do what matches!() should have done all along +// matches works too I'm just dumb pub fn variant_eq(a: &T, b: &T) -> bool { std::mem::discriminant(a) == std::mem::discriminant(b) }