aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors')
-rw-r--r--src/errors/async_di_container.rs2
1 files changed, 1 insertions, 1 deletions
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
{