diff options
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/errors.rs b/cli/errors.rs index 5259b90fb..823d32da5 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -65,9 +65,7 @@ pub fn get_error_class_name(e: &AnyError) -> &'static str { eprintln!( "Error '{}' contains boxed error of unknown type:{}", e, - e.chain() - .map(|e| format!("\n {:?}", e)) - .collect::<String>() + e.chain().map(|e| format!("\n {e:?}")).collect::<String>() ); "Error" }) |