Skip to content

Commit 11af142

Browse files
committed
Hermit: Fix unused_imports
1 parent b11bf65 commit 11af142

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

library/std/src/sys/hermit/mutex.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use crate::cell::UnsafeCell;
22
use crate::collections::VecDeque;
33
use crate::hint;
44
use crate::ops::{Deref, DerefMut, Drop};
5-
use crate::ptr;
65
use crate::sync::atomic::{AtomicUsize, Ordering};
76
use crate::sys::hermit::abi;
87

library/std/src/sys/hermit/rwlock.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::cell::UnsafeCell;
22
use crate::sys::locks::{MovableCondvar, Mutex};
3-
use crate::sys_common::lazy_box::{LazyBox, LazyInit};
43

54
pub struct RwLock {
65
lock: Mutex,

0 commit comments

Comments
 (0)