1
0
mirror of https://github.com/jht5945/rust_util.git synced 2026-01-12 07:10:05 +08:00

style: code style format

This commit is contained in:
2020-09-19 20:00:54 +08:00
parent 0a2302301d
commit 89f45cc354
5 changed files with 12 additions and 31 deletions

View File

@@ -1,7 +1,4 @@
use std::{
io::{ self, Error, ErrorKind },
process::Command,
};
use std::{ io::{ self, Error, ErrorKind }, process::Command };
pub fn run_command_and_wait(cmd: &mut Command) -> io::Result<()> {
cmd.spawn()?.wait()?;