mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
fix clippy
This commit is contained in:
parent
b0c1d88320
commit
e7a90f1ab5
2 changed files with 4 additions and 2 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue