Skip to content

Commit ae8410b

Browse files
authored
Rollup merge of rust-lang#54203 - cuviper:stable-os_str_str_ref_eq, r=estebank
Fix the stable release of os_str_str_ref_eq This was added and stabilized in commit 0250302, but while that claimed to be for 1.28.0, it didn't actually make it until 1.29.0. Fixes rust-lang#54195.
2 parents 8c999fa + 2e75b07 commit ae8410b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/ffi/os_str.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -420,14 +420,14 @@ impl PartialEq<OsString> for str {
420420
}
421421
}
422422

423-
#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
423+
#[stable(feature = "os_str_str_ref_eq", since = "1.29.0")]
424424
impl<'a> PartialEq<&'a str> for OsString {
425425
fn eq(&self, other: &&'a str) -> bool {
426426
**self == **other
427427
}
428428
}
429429

430-
#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
430+
#[stable(feature = "os_str_str_ref_eq", since = "1.29.0")]
431431
impl<'a> PartialEq<OsString> for &'a str {
432432
fn eq(&self, other: &OsString) -> bool {
433433
**other == **self

0 commit comments

Comments
 (0)