From 98538cbab28281055721d804615bc032248afb16 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Wed, 2 Mar 2022 09:59:55 +0100 Subject: [PATCH] Fix clippy warnings (#794) --- tests/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.rs b/tests/test.rs index 3fb6ea166..51ecb057d 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -67,7 +67,7 @@ fn compare_structs(funcspace: &FuncSpace, value: &serde_json::Value) { .name .as_deref() .unwrap_or_default() - .replace("\r", ""); + .replace('\r', ""); let name1 = Path::new(&fsname); let name2 = Path::new(value["name"].as_str().unwrap_or_default()); assert_eq!(name1, name2);