fix unwrap errors

This commit is contained in:
Chance 2024-12-05 11:16:40 -05:00 committed by lily
parent 864ecedaf9
commit 7f5618c429
Signed by: lily
GPG key ID: 601F3263FBCBC4B9
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();