diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
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)] | ||
1 | mod app; | 2 | mod app; |
2 | mod bitmap; | 3 | mod bitmap; |
3 | mod brush; | 4 | mod 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 | ||
68 | pub fn main() { | 69 | pub 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 | } |