fix clippy lint

This commit is contained in:
Corwin Kuiper 2021-11-18 21:30:35 +00:00
parent 7ba84b7691
commit 8143d43149

View file

@ -315,7 +315,7 @@ pub struct Mutex<T> {
#[non_exhaustive] #[non_exhaustive]
pub struct Key(); pub struct Key();
unsafe impl<T> Send for Mutex<T> {} unsafe impl<T: Send> Send for Mutex<T> {}
unsafe impl<T> Sync for Mutex<T> {} unsafe impl<T> Sync for Mutex<T> {}
impl<T> Mutex<T> { impl<T> Mutex<T> {