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