Skip to content

Commit 3dc2b9f

Browse files
Copilotmaxdymond
andcommitted
Fix clippy::cmp_owned warning in src/spec.rs
Co-authored-by: maxdymond <[email protected]>
1 parent 2fd9e67 commit 3dc2b9f

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)