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.
1 parent 51ce59e commit 27d0e44Copy full SHA for 27d0e44
std/src/process.rs
@@ -2136,7 +2136,7 @@ pub trait Termination {
2136
impl Termination for () {
2137
#[inline]
2138
fn report(self) -> ExitCode {
2139
- ExitCode::SUCCESS.report()
+ ExitCode::SUCCESS
2140
}
2141
2142
@@ -2162,7 +2162,7 @@ impl<E: fmt::Debug> Termination for Result<!, E> {
2162
2163
let Err(err) = self;
2164
eprintln!("Error: {err:?}");
2165
- ExitCode::FAILURE.report()
+ ExitCode::FAILURE
2166
2167
2168
0 commit comments