Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciubix8513 committed Jul 8, 2024
1 parent 4c5b0e3 commit 9af09d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ impl<T: 'static> State<T> {
}

//Initialize logging first
logging::initialize_logging();

if logging::initialize_logging().is_err() {
log::warn!("Logger already initialized");
}

let event_loop = winit::event_loop::EventLoop::new().expect("Failed to create event loop");
log::debug!("Created event loop");
Expand Down

0 comments on commit 9af09d7

Please sign in to comment.