Skip to content

Commit

Permalink
refactor: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jul 25, 2024
1 parent 52a63dc commit 544678c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub(crate) struct StderrLogger {}

impl StderrLogger {
pub fn init() -> Result<(), SetLoggerError> {
static LOGGER: &'static StderrLogger = &StderrLogger {};
static LOGGER: &StderrLogger = &StderrLogger {};
log::set_logger(LOGGER)
}
}
Expand Down

0 comments on commit 544678c

Please sign in to comment.