Commit bde6bf2
committed
Auto merge of #127633 - SamuelMarks:eq-exit-code, r=dtolnay
[library/std/src/process.rs] `PartialEq` for `ExitCode`
Converting a third-party CLI to a library so started passing around [`std::process::ExitCode`](https://doc.rust-lang.org/std/process/struct.ExitCode.html) in an `Either`. Then I realised the tests can't be modified to compare equality of `ExitCode`s.
This PR fixes this oversight.1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
1913 | | - | |
1914 | | - | |
1915 | | - | |
1916 | | - | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
1917 | 1921 | | |
1918 | 1922 | | |
1919 | 1923 | | |
| |||
1952 | 1956 | | |
1953 | 1957 | | |
1954 | 1958 | | |
1955 | | - | |
| 1959 | + | |
1956 | 1960 | | |
1957 | 1961 | | |
1958 | 1962 | | |
| |||
0 commit comments