We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Into<ExitStatus> for ExitStatusError
From<ExitStatusError> for ExitStatus
std::process
1 parent fcf3006 commit 6acb415Copy full SHA for 6acb415
1 file changed
library/std/src/process.rs
@@ -1738,9 +1738,9 @@ impl ExitStatusError {
1738
}
1739
1740
#[unstable(feature = "exit_status_error", issue = "84908")]
1741
-impl Into<ExitStatus> for ExitStatusError {
1742
- fn into(self) -> ExitStatus {
1743
- ExitStatus(self.0.into())
+impl From<ExitStatusError> for ExitStatus {
+ fn from(error: ExitStatusError) -> Self {
+ Self(error.0.into())
1744
1745
1746
0 commit comments