Skip to content

Commit

Permalink
Fix clippy warnings (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 authored Mar 2, 2022
1 parent d488b6e commit 98538cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 98538cb

Please sign in to comment.