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),