Sort derive macro items

For consistency, or something.
This commit is contained in:
2025-10-19 09:58:34 -05:00
parent 857aefda03
commit 845765513d

View File

@@ -42,7 +42,7 @@ fn main() {
} }
/// Main game state indicator /// Main game state indicator
#[derive(Debug, Hash, PartialEq, Eq, Clone, States)] #[derive(Clone, Debug, Eq, Hash, PartialEq, States)]
enum GameState { enum GameState {
MainMenu, MainMenu,
Playing, Playing,
@@ -101,7 +101,7 @@ enum WebSocketConnectionMessage {
// TODO: Presumably a TeardownConnection, right? // TODO: Presumably a TeardownConnection, right?
} }
#[derive(Error, Debug)] #[derive(Debug, Error)]
enum ConnSetupError { enum ConnSetupError {
#[error("IO")] #[error("IO")]
Io(#[from] std::io::Error), Io(#[from] std::io::Error),