diff options
Diffstat (limited to 'src/libstd/comm/mod.rs')
| -rw-r--r-- | src/libstd/comm/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/comm/mod.rs b/src/libstd/comm/mod.rs index 18857e221fa..170618e276b 100644 --- a/src/libstd/comm/mod.rs +++ b/src/libstd/comm/mod.rs @@ -360,7 +360,7 @@ pub struct SyncSender<T> { /// This enumeration is the list of the possible reasons that try_recv could not /// return data when called. -#[deriving(Eq, Clone, Show)] +#[deriving(PartialEq, Clone, Show)] pub enum TryRecvError { /// This channel is currently empty, but the sender(s) have not yet /// disconnected, so data may yet become available. @@ -372,7 +372,7 @@ pub enum TryRecvError { /// This enumeration is the list of the possible error outcomes for the /// `SyncSender::try_send` method. -#[deriving(Eq, Clone, Show)] +#[deriving(PartialEq, Clone, Show)] pub enum TrySendError<T> { /// The data could not be sent on the channel because it would require that /// the callee block to send the data. |
