diff options
author | HampusM <hampus@hampusmat.com> | 2022-11-07 21:14:19 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-11-07 21:14:39 +0100 |
commit | 8bcb33187c3962b91f999dffe6136e5f22f48ba4 (patch) | |
tree | 212512036d451abde663ee8d5c74d82550e6344c /src/errors | |
parent | 7faf124c8c5a7d7e8df0a504a3243614d00e82cf (diff) |
refactor: fix some Clippy lints regarding format!()
Diffstat (limited to 'src/errors')
-rw-r--r-- | src/errors/di_container.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors/di_container.rs b/src/errors/di_container.rs index ab1433d..311917a 100644 --- a/src/errors/di_container.rs +++ b/src/errors/di_container.rs @@ -38,7 +38,7 @@ pub enum DIContainerError /// 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 { |