diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-07-07 18:01:28 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-07-07 18:01:28 +0200 |
commit | db706d56ff07827860ea72005b7d72c9cd592194 (patch) | |
tree | 20fc26d2557ed1f503b2c06fd008b57654279701 /src/util.rs | |
parent | 562d9f32b77f71316d5ce94d461cc2297ad6237e (diff) |
Cleanup imports
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/util.rs b/src/util.rs deleted file mode 100644 index 1abb071..0000000 --- a/src/util.rs +++ /dev/null @@ -1,21 +0,0 @@ -use std::fmt::Debug; - -#[derive(Debug)] -pub enum State<D: Debug + Sized> { - Processing(D), - Ready -} - -impl<D> State<D> - where D: Debug + Sized -{ - pub fn processing(d: D) -> Self { - State::Processing(d) - } - - pub fn ready() -> Self { - State::Ready - } -} - - |