summaryrefslogtreecommitdiff
path: root/cli/errors.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-01-27 10:43:16 -0500
committerGitHub <noreply@github.com>2023-01-27 10:43:16 -0500
commitf5840bdcd360ec0bac2501f333e58e25742b1537 (patch)
tree7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/errors.rs
parent1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff)
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/errors.rs')
-rw-r--r--cli/errors.rs4
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"
})