We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0250302 commit fdcee4dCopy full SHA for fdcee4d
src/libstd/ffi/os_str.rs
@@ -417,14 +417,14 @@ impl PartialEq<OsString> for str {
417
}
418
419
420
-#[stable(feature = "rust1", since = "1.28.0")]
+#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
421
impl<'a> PartialEq<&'a str> for OsString {
422
fn eq(&self, other: &&'a str) -> bool {
423
**self == **other
424
425
426
427
428
impl<'a> PartialEq<OsString> for &'a str {
429
fn eq(&self, other: &OsString) -> bool {
430
**other == **self
0 commit comments