aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 9370abf..245ee83 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,4 @@
1#![allow(clippy::upper_case_acronyms, clippy::vec_init_then_push)]
1mod app; 2mod app;
2mod bitmap; 3mod bitmap;
3mod brush; 4mod brush;
@@ -62,13 +63,12 @@ pub fn error_sink() -> Result<(), AppError> {
62 .run(); 63 .run();
63 } 64 }
64 } 65 }
65 return Ok(()); 66 Ok(())
66} 67}
67 68
68pub fn main() { 69pub fn main() {
69 env_logger::init(); 70 env_logger::init();
70 match error_sink() { 71 if let Err(e) = error_sink() {
71 Err(e) => error!("{}", e), 72 error!("{}", e);
72 _ => (),
73 } 73 }
74} 74}