diff options
| author | Josh Stone <jistone@redhat.com> | 2018-09-13 14:25:43 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2018-09-13 14:25:43 -0700 |
| commit | 2e75b07eee8f506e3410c199444abf60b9062055 (patch) | |
| tree | 64b63d96593956ab67ea925a59878872401da1cc /src/libstd/ffi | |
| parent | 994cdd918589535d705177545bf503cd0c3c5148 (diff) | |
| download | rust-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.rs | 4 |
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 |
