Skip to content

Commit

Permalink
Update top_level_error_handling.rs
Browse files Browse the repository at this point in the history
`ActionError` doesn't implement `std::fmt::Display`
the trait `std::fmt::Display` is not implemented for `ActionError`
  • Loading branch information
Muhammad-Sarfaraz committed Jan 19, 2024
1 parent 34c897a commit 2bc0009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/top_level_error_handling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn main() {

match app.run_with_result(args) {
Ok(_) => println!("OK"),
Err(e) => println!("{}", e),
Err(e) => println!("{:?}", e),
};
}

Expand Down

0 comments on commit 2bc0009

Please sign in to comment.