Sort derive macro items
For consistency, or something.
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user