diff options
| author | bendn <bend.n@outlook.com> | 2025-09-04 14:06:44 +0700 |
|---|---|---|
| committer | bendn <bend.n@outlook.com> | 2025-09-04 18:33:47 +0700 |
| commit | 1e37c1fe2e29d88d4843e7c0ce46e50edd9f7251 (patch) | |
| tree | 959239027d71c6e29847d28a4398c1daae2120c6 | |
| parent | f19da67ed75468a2cb90572c065d1c3e2a8cadec (diff) | |
| download | rust-1e37c1fe2e29d88d4843e7c0ce46e50edd9f7251.tar.gz rust-1e37c1fe2e29d88d4843e7c0ce46e50edd9f7251.zip | |
fix
| -rw-r--r-- | library/std/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs index 531a1aa4215..19663e4a9df 100644 --- a/library/std/src/path.rs +++ b/library/std/src/path.rs @@ -2107,7 +2107,7 @@ impl PartialEq for PathBuf { impl cmp::PartialEq<str> for PathBuf { #[inline] fn eq(&self, other: &str) -> bool { - &*self == other + Path::eq(self, other) } } |
