Skip to content

Commit

Permalink
Auto merge of #114428 - ChaiTRex:master, r=dtolnay
Browse files Browse the repository at this point in the history
Convert `Into<ExitStatus> for ExitStatusError` to `From<ExitStatusError> for ExitStatus` in `std::process`

Implementing suggestion from rust-lang/rust#84908 (comment):

> I believe the impl on ExitStatusError should be
>
> ```rust
> impl From<ExitStatusError> for ExitStatus
> ```
>
> rather than
>
> ```rust
> impl Into<ExitStatus> for ExitStatusError
> ```
>
> (there is generally never anything implemented as `Into` first, because implementing `From` reflexively provides `Into`)
  • Loading branch information
bors committed Sep 28, 2023
2 parents d9e5808 + f5eacdd commit 4c32a04
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 4c32a04

Please sign in to comment.