fix clippy

This commit is contained in:
Luke Boswell 2024-08-18 15:22:16 +10:00
parent b0c1d88320
commit e7a90f1ab5
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
2 changed files with 4 additions and 2 deletions

View file

@ -74,7 +74,7 @@ impl Out {
}
/// Normalise the output for comparison in tests by replacing with a placeholder
fn normalize_for_tests(input: &String) -> String {
fn normalize_for_tests(input: &str) -> String {
// normalise from windows line endings to unix line endings
let without_clrf = input.replace("\r\n", "\n");