Skip to content

Commit 8ab84c2

Browse files
committed
fix errors about fmt and clippy
1 parent e926acd commit 8ab84c2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

vm/src/stdlib/os.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
use num_cpus;
22
use std::cell::RefCell;
3-
use std::convert::TryInto;
4-
use std::io::{self, Error, ErrorKind, Read, Write};
3+
use std::ffi;
4+
use std::fs::File;
5+
use std::fs::OpenOptions;
6+
use std::io::{self, ErrorKind, Read, Write};
57
#[cfg(unix)]
68
use std::os::unix::fs::OpenOptionsExt;
79
#[cfg(windows)]
810
use std::os::windows::fs::OpenOptionsExt;
9-
use std::ffi;
10-
use std::fs::File;
11-
use std::fs::OpenOptions;
1211
use std::time::{Duration, SystemTime};
1312
use std::{env, fs};
1413

0 commit comments

Comments
 (0)