From 133069545b0f2a1fd28b44750934cab13be5a953 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 12 Jan 2023 21:23:50 +0100 Subject: refactor: fix Clippy lint in threadsafe castable factory --- src/private/castable_factory/threadsafe.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/private/castable_factory/threadsafe.rs b/src/private/castable_factory/threadsafe.rs index 3d2b653..871af9f 100644 --- a/src/private/castable_factory/threadsafe.rs +++ b/src/private/castable_factory/threadsafe.rs @@ -116,10 +116,7 @@ where let ret = type_name::>(); - formatter.write_fmt(format_args!( - "ThreadsafeCastableFactory ({}) -> {}", - args, ret - )) + formatter.write_fmt(format_args!("ThreadsafeCastableFactory ({args}) -> {ret}",)) } } -- cgit v1.2.3-18-g5258