Skip to content

Commit 98538cb

Browse files
authored
Fix clippy warnings (#794)
1 parent d488b6e commit 98538cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fn compare_structs(funcspace: &FuncSpace, value: &serde_json::Value) {
6767
.name
6868
.as_deref()
6969
.unwrap_or_default()
70-
.replace("\r", "");
70+
.replace('\r', "");
7171
let name1 = Path::new(&fsname);
7272
let name2 = Path::new(value["name"].as_str().unwrap_or_default());
7373
assert_eq!(name1, name2);

0 commit comments

Comments
 (0)