From 748bc3ca49de8ab0b890726120c40567094e43fc Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 29 May 2014 17:45:07 -0700 Subject: std: Rename {Eq,Ord} to Partial{Eq,Ord} This is part of the ongoing renaming of the equality traits. See #12517 for more details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord} or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}. cc #12517 [breaking-change] --- src/libsync/mutex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsync') diff --git a/src/libsync/mutex.rs b/src/libsync/mutex.rs index 54c3a9c77f8..ee7fa525e79 100644 --- a/src/libsync/mutex.rs +++ b/src/libsync/mutex.rs @@ -97,7 +97,7 @@ pub struct Mutex { lock: StaticMutex, } -#[deriving(Eq, Show)] +#[deriving(PartialEq, Show)] enum Flavor { Unlocked, TryLockAcquisition, -- cgit 1.4.1-3-g733a5