Skip to content

Commit 1e37c1f

Browse files
committed
fix
1 parent f19da67 commit 1e37c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ impl PartialEq for PathBuf {
21072107
impl cmp::PartialEq<str> for PathBuf {
21082108
#[inline]
21092109
fn eq(&self, other: &str) -> bool {
2110-
&*self == other
2110+
Path::eq(self, other)
21112111
}
21122112
}
21132113

0 commit comments

Comments
 (0)