Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 60812a2

Browse files
committed
refactor
1 parent 3dc120f commit 60812a2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ fn main() -> Result<()> {
3030

3131
if let Some(log_file) = &opt.log_file {
3232
log_panics::init();
33-
33+
3434
let log_output = std::fs::OpenOptions::new()
3535
.create(true)
3636
.append(true)
3737
.open(log_file)?;
38-
38+
3939
fern::Dispatch::new()
4040
.level(log::LevelFilter::Debug)
4141
.format(|formatter_out, log_msg, log_rec| {
@@ -51,7 +51,7 @@ fn main() -> Result<()> {
5151
})
5252
.chain(log_output)
5353
.apply()?;
54-
54+
5555
info!("dua options={opt:#?}");
5656
}
5757

0 commit comments

Comments
 (0)