Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TehPers committed Aug 19, 2024
1 parent f403992 commit 5413f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assertions/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit 5413f7e

Please sign in to comment.