From 845765513dd440b70d3d4b18bd3def646e99c0d3 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Sun, 19 Oct 2025 09:58:34 -0500 Subject: [PATCH] Sort derive macro items For consistency, or something. --- client/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main.rs b/client/src/main.rs index 8d955a4..a8dba14 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -42,7 +42,7 @@ fn main() { } /// Main game state indicator -#[derive(Debug, Hash, PartialEq, Eq, Clone, States)] +#[derive(Clone, Debug, Eq, Hash, PartialEq, States)] enum GameState { MainMenu, Playing, @@ -101,7 +101,7 @@ enum WebSocketConnectionMessage { // TODO: Presumably a TeardownConnection, right? } -#[derive(Error, Debug)] +#[derive(Debug, Error)] enum ConnSetupError { #[error("IO")] Io(#[from] std::io::Error),