mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Remove unnecessary import of crate::marker
in std::sys_common::remutex.
It was used for marker::Send, but Send is already in scope.
This commit is contained in:
parent
2bc5d44ca9
commit
9dc7f13c39
@ -2,7 +2,6 @@
|
||||
mod tests;
|
||||
|
||||
use crate::fmt;
|
||||
use crate::marker;
|
||||
use crate::ops::Deref;
|
||||
use crate::panic::{RefUnwindSafe, UnwindSafe};
|
||||
use crate::sys::mutex as sys;
|
||||
@ -40,7 +39,7 @@ pub struct ReentrantMutexGuard<'a, T: 'a> {
|
||||
lock: &'a ReentrantMutex<T>,
|
||||
}
|
||||
|
||||
impl<T> !marker::Send for ReentrantMutexGuard<'_, T> {}
|
||||
impl<T> !Send for ReentrantMutexGuard<'_, T> {}
|
||||
|
||||
impl<T> ReentrantMutex<T> {
|
||||
/// Creates a new reentrant mutex in an unlocked state.
|
||||
|
Loading…
Reference in New Issue
Block a user