Skip to content

Commit

Permalink
[eclipse-iceoryx#396] Resolve clippy issue with redundant closures
Browse files Browse the repository at this point in the history
Signed-off-by: Ziad Mostafa <[email protected]>
  • Loading branch information
zmostafa committed Oct 16, 2024
1 parent ccfba4b commit e88f644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceoryx2-bb/log/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static DEFAULT_LOGGER: logger::log::Logger = logger::log::Logger::new();

#[cfg(not(any(feature = "logger_log", feature = "logger_tracing")))]
pub static DEFAULT_LOGGER: Lazy<logger::console::Logger> =
Lazy::new(|| logger::console::Logger::new());
Lazy::new(logger::console::Logger::new);

const DEFAULT_LOG_LEVEL: u8 = LogLevel::Info as u8;
pub static ENV_LOG_LEVEL: Lazy<LogLevel> = Lazy::new(|| {
Expand Down

0 comments on commit e88f644

Please sign in to comment.