summary refs log tree commit diff
path: root/sync
diff options
context:
space:
mode:
Diffstat (limited to 'sync')
-rw-r--r--sync/src/mutex.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/sync/src/mutex.rs b/sync/src/mutex.rs
index 59c9f71..c479a2e 100644
--- a/sync/src/mutex.rs
+++ b/sync/src/mutex.rs
@@ -24,7 +24,6 @@
 //! Developers should feel free to use sync::Mutex anywhere in crosvm that they
 //! would otherwise be using std::sync::Mutex.
 
-use std::error::Error;
 use std::fmt::{self, Debug, Display};
 use std::sync::{Mutex as StdMutex, MutexGuard, TryLockError};
 
@@ -119,4 +118,4 @@ impl Display for WouldBlock {
     }
 }
 
-impl Error for WouldBlock {}
+impl std::error::Error for WouldBlock {}