Skip to content

Commit

Permalink
fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Sep 12, 2024
1 parent e270efa commit 7a826a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ fn build_config(log: &mut LogConfig) -> SimpleResult<Config> {
// proceed to build the appender and configure it.
if log.path.is_some() {
config_builder = config_builder
.appender(Appender::builder().build(SIMPLE_LOG_FILE, file_appender(&log)?));
.appender(Appender::builder().build(SIMPLE_LOG_FILE, file_appender(log)?));
root_builder = root_builder.appender(SIMPLE_LOG_FILE);
}
}
Expand Down

0 comments on commit 7a826a8

Please sign in to comment.