summaryrefslogtreecommitdiffstats
path: root/library/std/src/sys/unsupported/locks/mutex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/unsupported/locks/mutex.rs')
-rw-r--r--library/std/src/sys/unsupported/locks/mutex.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/std/src/sys/unsupported/locks/mutex.rs b/library/std/src/sys/unsupported/locks/mutex.rs
index d7cb12e0c..2be0b34b9 100644
--- a/library/std/src/sys/unsupported/locks/mutex.rs
+++ b/library/std/src/sys/unsupported/locks/mutex.rs
@@ -17,9 +17,6 @@ impl Mutex {
}
#[inline]
- pub unsafe fn init(&mut self) {}
-
- #[inline]
pub unsafe fn lock(&self) {
assert_eq!(self.locked.replace(true), false, "cannot recursively acquire mutex");
}