Skip to content

Commit 62efa0f

Browse files
committed
format
1 parent d2407a1 commit 62efa0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub fn setup_logger(logfile: &Option<String>, level: u8) {
197197
})
198198
.level(level);
199199
if logfile.is_some() {
200-
cfg_if::cfg_if!{
200+
cfg_if::cfg_if! {
201201
if #[cfg(unix)] {
202202
let path = std::path::Path::new(logfile.as_ref().unwrap().as_str());
203203
builder = builder.chain(fern::log_reopen(path, Some(libc::SIGUSR2)).unwrap());

0 commit comments

Comments
 (0)