fix unwrap errors

This commit is contained in:
Chance 2024-12-05 11:16:40 -05:00 committed by BitSyndicate
parent 84f334dc49
commit 8f2ff9e9d8
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
5 changed files with 17 additions and 13 deletions

View file

@ -1,3 +1,5 @@
#![deny(clippy::unwrap_in_result)]
use anyhow::Result;
use log::LevelFilter;
@ -11,7 +13,7 @@ async fn main() -> Result<()> {
let t = zephyr::add(0, 2);
println!("{}", t);
log::set_logger(&*LOGGER).unwrap();
log::set_logger(&*LOGGER).ok();
log::set_max_level(LevelFilter::Debug);
print_splash();