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)?;