aboutsummaryrefslogtreecommitdiff
path: root/src/gui.rs
diff options
context:
space:
mode:
authortslil clingman <>2020-01-29 10:43:08 -0800
committertslil clingman <>2020-01-29 10:43:08 -0800
commit9fbdf6f32c18a938679cb245dbfd0434f7703b3d (patch)
tree27a0489521eeca50cbd0b27de8d84403a5237405 /src/gui.rs
parenta51bcf3262350c4316a6bf7eaeee3134d5cd7e31 (diff)
Small bugfix and cleanup
Diffstat (limited to 'src/gui.rs')
-rw-r--r--src/gui.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui.rs b/src/gui.rs
index 4899bb7..95bc8ee 100644
--- a/src/gui.rs
+++ b/src/gui.rs
@@ -12,15 +12,6 @@ pub enum GUIResult {
Raw(String),
}
-impl GUIResult {
- pub fn is_raw(&self) -> bool {
- match self {
- GUIResult::Raw(_) => true,
- _ => false,
- }
- }
-}
-
pub struct GameLog {
action_window: Window,
pieces_window: Window,