ExitStatusError: Be more verbose in Display impl
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
This commit is contained in:
parent
8832b0a81c
commit
bb4ef68639
1 changed files with 1 additions and 1 deletions
|
@ -1607,7 +1607,7 @@ impl Into<ExitStatus> for ExitStatusError {
|
|||
#[unstable(feature = "exit_status_error", issue = "84908")]
|
||||
impl fmt::Display for ExitStatusError {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
self.into_status().fmt(f)
|
||||
write!(f, "process exited unsuccessfully: {}", self.into_status())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue