Fix stability attributes

This commit is contained in:
Gabriel Majeri 2018-05-30 08:26:24 +03:00
parent 02503029b8
commit fdcee4da79

View file

@ -417,14 +417,14 @@ impl PartialEq<OsString> for str {
}
}
#[stable(feature = "rust1", since = "1.28.0")]
#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
impl<'a> PartialEq<&'a str> for OsString {
fn eq(&self, other: &&'a str) -> bool {
**self == **other
}
}
#[stable(feature = "rust1", since = "1.28.0")]
#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
impl<'a> PartialEq<OsString> for &'a str {
fn eq(&self, other: &OsString) -> bool {
**other == **self