Skip to content

Commit 21f6e49

Browse files
authored
Merge pull request #517 from Metaswitch/copilot/fix-clippy-warnings
Fix clippy::cmp_owned warning in PathBuf comparison
2 parents 0cea61c + 3dc2b9f commit 21f6e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ mod test {
198198

199199
assert!(
200200
get_working_directory(&current_directory, &floki_root, &mount)
201-
== path::PathBuf::from("/guest/workingdir/")
201+
== path::Path::new("/guest/workingdir/")
202202
)
203203
}
204204
}

0 commit comments

Comments
 (0)