Clippy fixes

This commit is contained in:
Maurus Decimus
2026-07-09 15:26:03 +02:00
parent e2d0505013
commit e21fc8bc9d
9 changed files with 15 additions and 19 deletions

View File

@@ -81,7 +81,7 @@ pub fn check_contains(haystack: &str, needle: &str, msg: impl std::fmt::Display)
} else {
Err(Fail::Assert(format!(
"{msg}: expected to contain {needle:?}, got {:?}",
&haystack.chars().take(200).collect::<String>()
haystack.chars().take(200).collect::<String>()
)))
}
}