diff options
Diffstat (limited to 'cli/standalone.rs')
-rw-r--r-- | cli/standalone.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/standalone.rs b/cli/standalone.rs index 063ad7d33..e36584d72 100644 --- a/cli/standalone.rs +++ b/cli/standalone.rs @@ -320,9 +320,7 @@ fn get_error_class_name(e: &AnyError) -> &'static str { panic!( "Error '{}' contains boxed error of unsupported type:{}", e, - e.chain() - .map(|e| format!("\n {:?}", e)) - .collect::<String>() + e.chain().map(|e| format!("\n {e:?}")).collect::<String>() ); }) } |