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]
This commit is contained in:
@@ -317,7 +317,7 @@ impl fmt::Show for Command {
|
||||
}
|
||||
|
||||
/// The output of a finished process.
|
||||
#[deriving(Eq, TotalEq, Clone)]
|
||||
#[deriving(PartialEq, TotalEq, Clone)]
|
||||
pub struct ProcessOutput {
|
||||
/// The status (exit code) of the process.
|
||||
pub status: ProcessExit,
|
||||
@@ -348,7 +348,7 @@ pub enum StdioContainer {
|
||||
|
||||
/// Describes the result of a process after it has terminated.
|
||||
/// Note that Windows have no signals, so the result is usually ExitStatus.
|
||||
#[deriving(Eq, TotalEq, Clone)]
|
||||
#[deriving(PartialEq, TotalEq, Clone)]
|
||||
pub enum ProcessExit {
|
||||
/// Normal termination with an exit status.
|
||||
ExitStatus(int),
|
||||
|
||||
Reference in New Issue
Block a user