Readability fixes for cargo clippy

This commit is contained in:
NG (Graham) committed 2025-09-03 22:33:32 -04:00
1 parent 9dcb12131b
commit 0e35aced01
77 files changed
+725 -735

No files matched your search

+2 -2
View File
@@ -16,8 +16,8 @@ impl TechTreeNode {
(Typed::Str("mainCubeId".into()), Typed::Str(hex::encode(self.main_cube_id.to_be_bytes()).into())),
(Typed::Str("positionX".into()), Typed::Int(self.position_x)),
(Typed::Str("positionY".into()), Typed::Int(self.position_y)),
(Typed::Str("isUnlocked".into()), Typed::Bool(self.is_unlocked.into())),
(Typed::Str("isUnlockable".into()), Typed::Bool(self.is_unlockable.into())),
(Typed::Str("isUnlocked".into()), Typed::Bool(self.is_unlocked)),
(Typed::Str("isUnlockable".into()), Typed::Bool(self.is_unlockable)),
(Typed::Str("tp".into()), Typed::Int(self.tech_points as i32)),
(Typed::Str("neighbours".into()), Typed::Arr(Arr {
ty: TypePrefix::Str, // str