Merge pull request #131 from corwinkuiper/clippy-mutex

fix clippy lint
This commit is contained in:
Corwin 2021-11-18 22:15:45 +00:00 committed by GitHub
commit ba96091cf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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> {