Skip to content

Commit fdcee4d

Browse files
committed
Fix stability attributes
1 parent 0250302 commit fdcee4d

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
@@ -417,14 +417,14 @@ impl PartialEq<OsString> for str {
417417
}
418418
}
419419

420-
#[stable(feature = "rust1", since = "1.28.0")]
420+
#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
421421
impl<'a> PartialEq<&'a str> for OsString {
422422
fn eq(&self, other: &&'a str) -> bool {
423423
**self == **other
424424
}
425425
}
426426

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

0 commit comments

Comments
 (0)