From 5413f7efc05380ff7658880d4462c8bc0f02a32b Mon Sep 17 00:00:00 2001 From: TehPers Date: Sun, 18 Aug 2024 22:26:59 -0700 Subject: [PATCH] Fix clippy warning --- src/assertions/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assertions/error.rs b/src/assertions/error.rs index e1ee897..f7994be 100644 --- a/src/assertions/error.rs +++ b/src/assertions/error.rs @@ -173,7 +173,7 @@ impl Display for AssertionError { writeln!( f, "----- {title} {} -----", - styles::reference(&format_args!("[{}]", reference_idx)) + styles::reference(&format_args!("[{reference_idx}]")) )?; writeln!(f, "{page}")?; writeln!(f)?;