about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-09-04 16:31:05 +0000
committerbors <bors@rust-lang.org>2025-09-04 16:31:05 +0000
commit0d6a806909f8e99ad59d3ca96dee012faf9a38e9 (patch)
tree05be4d14baf3e3b7e5724c91da62282c45836b13 /library/std/src
parent71289c378d0a406a4f537fe4001282d19362931f (diff)
parenta038e28e8a72c0a07a42a9098b6766786f1e2822 (diff)
downloadrust-0d6a806909f8e99ad59d3ca96dee012faf9a38e9.tar.gz
rust-0d6a806909f8e99ad59d3ca96dee012faf9a38e9.zip
Auto merge of #146205 - matthiaskrgr:rollup-fxt43oq, r=matthiaskrgr
Rollup of 4 pull requests

Successful merges:

 - rust-lang/rust#145976 (Add bootstrap.toml option to control debug breaking on ICEs on windows)
 - rust-lang/rust#146151 (fixes auto-run js checks in tidy)
 - rust-lang/rust#146194 (fix path str eq)
 - rust-lang/rust#146197 (triagebot: fix rustc_allow_const_fn_unstable matcher)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/path.rs2
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)
     }
 }