Skip to content

Commit 3dc2b9f

Browse files
Copilotmaxdymond
andcommitted
Fix clippy::cmp_owned warning in src/spec.rs
Co-authored-by: maxdymond <25326980+maxdymond@users.noreply.github.com>
1 parent 2fd9e67 commit 3dc2b9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)