From b6f2f52765f35f9f6e76d2dc23404cf35eb97908 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 12 Jan 2023 19:55:49 +0100 Subject: refactor: fix Clippy lints --- src/errors/async_di_container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/errors') diff --git a/src/errors/async_di_container.rs b/src/errors/async_di_container.rs index 1984521..f17f8b3 100644 --- a/src/errors/async_di_container.rs +++ b/src/errors/async_di_container.rs @@ -38,7 +38,7 @@ pub enum AsyncDIContainerError /// No binding exists for a interface (and optionally a name). #[error( "No binding exists for interface '{interface}' {}", - .name.map_or_else(String::new, |name| format!("with name '{}'", name)) + .name.map_or_else(String::new, |name| format!("with name '{name}'")) )] BindingNotFound { -- cgit v1.2.3-18-g5258