Skip to content

Commit f6f2622

Browse files
committed
Derive PartialEq and Eq for Filesystem
This is in preparation for splitting the intermediate build artifacts from the `target` directory.
1 parent 1b82e1b commit f6f2622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/flock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl Drop for FileLock {
142142
///
143143
/// [`flock`]: https://linux.die.net/man/2/flock
144144
/// [`LockFileEx`]: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-lockfileex
145-
#[derive(Clone, Debug)]
145+
#[derive(Clone, Debug, PartialEq, Eq)]
146146
pub struct Filesystem {
147147
root: PathBuf,
148148
}

0 commit comments

Comments
 (0)