chore: address some clippy concerns

This commit is contained in:
J / Jacob Babich
2026-07-15 00:32:04 -04:00
parent 224ee7732f
commit 8ab8dd3441
15 changed files with 93 additions and 93 deletions

View File

@@ -15,7 +15,7 @@ where
{
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let Self { actual, expected } = self;
let expected_str = <&'static str>::from(&expected);
let expected_str = <&'static str>::from(expected);
write!(f, "expected {expected_str:?} but got {actual:?}")
}