summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-01 22:07:04 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-01 22:07:04 +0200
commit1e1eb95926f556e666bc20355327abd24d264858 (patch)
treee40b68da80b984355baf68a36983d78bb2ec63dd /src/app.rs
parent5d15bed762c4c699bebc9b5f5e302fa61785ed51 (diff)
minor cleanup
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.rs b/src/app.rs
index a215859..0f740e8 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -12,6 +12,7 @@ use ratatui::{
prelude::*,
};
+#[derive(Default)]
pub struct App {
exit: bool,
view: SheetView,
@@ -34,7 +35,7 @@ impl App {
if let Err(e) = lua::source(&config::constants::USER_RC_PATH) {
self.exit = true;
tui::restore()?;
- println!("{}", e.to_string());
+ println!("{}", e);
}
while !self.exit {