Skip to content
Snippets Groups Projects
Commit 11d4ba8c authored by Martin Kröning's avatar Martin Kröning :crab:
Browse files

synch: Remove implicit unsafe impls

parent cba3ad3d
Branches
Tags
No related merge requests found
......@@ -86,7 +86,3 @@ impl RecursiveMutex {
}
}
}
// Same unsafe impls as `RecursiveMutex`
unsafe impl Sync for RecursiveMutex {}
unsafe impl Send for RecursiveMutex {}
......@@ -42,10 +42,6 @@ pub struct Semaphore {
state: SpinlockIrqSave<SemaphoreState>,
}
// Same unsafe impls as `Semaphore`
unsafe impl Sync for Semaphore {}
unsafe impl Send for Semaphore {}
impl Semaphore {
/// Creates a new semaphore with the initial count specified.
///
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment