diff options
| author | Martin Kröning <martin.kroening@eonerc.rwth-aachen.de> | 2025-09-10 16:25:57 +0200 |
|---|---|---|
| committer | Martin Kröning <martin.kroening@eonerc.rwth-aachen.de> | 2025-09-11 09:05:17 +0200 |
| commit | 9fe101b6ea204256bffef357c646012d571416ee (patch) | |
| tree | 6ee177c295e70cfdd0213af9a7096a6e4706932b /library/std/src | |
| parent | f4665ab8368ad2e8a86d4390ae35c28bdd9561bb (diff) | |
| download | rust-9fe101b6ea204256bffef357c646012d571416ee.tar.gz rust-9fe101b6ea204256bffef357c646012d571416ee.zip | |
Remove unused import from sys/pal/hermit/os.rs
This fixes
```
error: unused import: `str`
--> library/std/src/sys/pal/hermit/os.rs:6:22
|
6 | use crate::{fmt, io, str};
| ^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
```
This was caused by 845311a065a5638c516ed96c73b09862b176b329.
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/pal/hermit/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/hermit/os.rs b/library/std/src/sys/pal/hermit/os.rs index 0fe713a503b..9681964ed9b 100644 --- a/library/std/src/sys/pal/hermit/os.rs +++ b/library/std/src/sys/pal/hermit/os.rs @@ -3,7 +3,7 @@ use crate::ffi::{OsStr, OsString}; use crate::marker::PhantomData; use crate::path::{self, PathBuf}; use crate::sys::unsupported; -use crate::{fmt, io, str}; +use crate::{fmt, io}; pub fn errno() -> i32 { unsafe { hermit_abi::get_errno() } |
