about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorMartin Kröning <mkroening@posteo.net>2022-11-29 11:27:25 +0100
committerMartin Kröning <mkroening@posteo.net>2022-11-29 12:25:35 +0100
commit0a4e5efe6f6e6d84147b3da689f99b2b9750834c (patch)
tree27bdf3dd576fcbecd683c963937b6f493b2ebc57 /library/std/src/sys
parentc8f3203c46c4b95a9eaff3ff8bb99982b682db0f (diff)
downloadrust-0a4e5efe6f6e6d84147b3da689f99b2b9750834c.tar.gz
rust-0a4e5efe6f6e6d84147b3da689f99b2b9750834c.zip
hermit: Remove unused exports
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/hermit/fs.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/library/std/src/sys/hermit/fs.rs b/library/std/src/sys/hermit/fs.rs
index af297ff1ec7..6fb92c037ee 100644
--- a/library/std/src/sys/hermit/fs.rs
+++ b/library/std/src/sys/hermit/fs.rs
@@ -1,10 +1,8 @@
-use crate::convert::TryFrom;
-use crate::ffi::{CStr, CString, OsString};
+use crate::ffi::{CStr, OsString};
 use crate::fmt;
 use crate::hash::{Hash, Hasher};
 use crate::io::{self, Error, ErrorKind};
 use crate::io::{BorrowedCursor, IoSlice, IoSliceMut, SeekFrom};
-use crate::os::unix::ffi::OsStrExt;
 use crate::path::{Path, PathBuf};
 use crate::sys::common::small_c_string::run_path_with_cstr;
 use crate::sys::cvt;