diff options
| author | troido <troido@protonmail.com> | 2020-09-26 00:31:18 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-26 00:31:18 +0200 |
| commit | 450cf9331803532cb0e3a002fec17d12be18abd6 (patch) | |
| tree | 6df6fadd0374e421c046e4759bd3f084cb71deab | |
| parent | 345251f20401a71f7e7e00f4810b92af39ad4395 (diff) | |
also accept "none" as Direction::None
| -rw-r--r-- | src/controls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls.rs b/src/controls.rs index bdbed98..ca1ed8e 100644 --- a/src/controls.rs +++ b/src/controls.rs @@ -12,7 +12,7 @@ pub enum Direction { South, East, West, - #[serde(rename="")] + #[serde(alias="")] None } |
