mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
revision: fmt
This commit is contained in:
parent
c398372785
commit
e8d011b476
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
use futures::{stream::FuturesUnordered, StreamExt};
|
||||
use std::{process::exit, fs};
|
||||
use std::{fs, process::exit};
|
||||
|
||||
use super::*;
|
||||
|
||||
|
@ -60,7 +60,7 @@ impl Autoformat {
|
|||
println!("failed to write formatted content to file: {}", e);
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
Err(e) => {
|
||||
eprintln!("failed to open file: {}", e);
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in a new issue