about summary refs log tree commit diff
path: root/src/libstd/ffi
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-09-13 14:25:43 -0700
committerJosh Stone <jistone@redhat.com>2018-09-13 14:25:43 -0700
commit2e75b07eee8f506e3410c199444abf60b9062055 (patch)
tree64b63d96593956ab67ea925a59878872401da1cc /src/libstd/ffi
parent994cdd918589535d705177545bf503cd0c3c5148 (diff)
downloadrust-2e75b07eee8f506e3410c199444abf60b9062055.tar.gz
rust-2e75b07eee8f506e3410c199444abf60b9062055.zip
Fix the stable release of os_str_str_ref_eq
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.
Diffstat (limited to 'src/libstd/ffi')
-rw-r--r--src/libstd/ffi/os_str.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs
index 8ae5e20dac5..237af2f04e5 100644
--- a/src/libstd/ffi/os_str.rs
+++ b/src/libstd/ffi/os_str.rs
@@ -420,14 +420,14 @@ impl PartialEq<OsString> for str {
     }
 }
 
-#[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