aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index ebc2d7e..3454897 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,6 +2,7 @@ mod db;
mod deck;
mod gui;
mod model;
+mod parser;
mod space_repetition;
mod sync;
mod util;
@@ -47,13 +48,10 @@ fn main() -> Result<()> {
gui::message::show(&mut term, &deck_name, &format!("{msg}"), true)?
}
}
- },
- Err(msg) => {
- gui::message::show(&mut term, &deck_name, &format!("{msg}"), true)?
}
+ Err(msg) => gui::message::show(&mut term, &deck_name, &format!("{msg}"), true)?,
}
-
gui::restore_terminal(&mut term)
}