]> git.lizzy.rs Git - rust.git/commitdiff
Fix the stable release of os_str_str_ref_eq
authorJosh Stone <jistone@redhat.com>
Thu, 13 Sep 2018 21:25:43 +0000 (14:25 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 13 Sep 2018 21:25:43 +0000 (14:25 -0700)
This was added and stabilized in commit 02503029b83a, but while that
claimed to be for 1.28.0, it didn't actually make it until 1.29.0.

src/libstd/ffi/os_str.rs

index 8ae5e20dac5aa669f37649c43e3490b723cc5cb7..237af2f04e59d5fe9ad183e005a1adad09a2d42d 100644 (file)
@@ -420,14 +420,14 @@ fn eq(&self, other: &OsString) -> bool {
     }
 }
 
-#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
+#[stable(feature = "os_str_str_ref_eq", since = "1.29.0")]
 impl<'a> PartialEq<&'a str> for OsString {
     fn eq(&self, other: &&'a str) -> bool {
         **self == **other
     }
 }
 
-#[stable(feature = "os_str_str_ref_eq", since = "1.28.0")]
+#[stable(feature = "os_str_str_ref_eq", since = "1.29.0")]
 impl<'a> PartialEq<OsString> for &'a str {
     fn eq(&self, other: &OsString) -> bool {
         **other == **self