std: Drop Total from Total{Eq,Ord}
This completes the last stage of the renaming of the comparison hierarchy of traits. This change renames TotalEq to Eq and TotalOrd to Ord. In the future the new Eq/Ord will be filled out with their appropriate methods, but for now this change is purely a renaming change. [breaking-change]
This commit is contained in:
parent
c605c2b57b
commit
bba701c59d
83 changed files with 436 additions and 431 deletions
|
@ -317,7 +317,7 @@ impl fmt::Show for Command {
|
|||
}
|
||||
|
||||
/// The output of a finished process.
|
||||
#[deriving(PartialEq, TotalEq, Clone)]
|
||||
#[deriving(PartialEq, Eq, 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(PartialEq, TotalEq, Clone)]
|
||||
#[deriving(PartialEq, Eq, Clone)]
|
||||
pub enum ProcessExit {
|
||||
/// Normal termination with an exit status.
|
||||
ExitStatus(int),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue