diff options
| author | George Burton <burtonageo@gmail.com> | 2018-05-09 07:32:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-09 07:32:50 +0100 |
| commit | 7c0f664f153f4f41f820723c6b2c758ad5286531 (patch) | |
| tree | 0a40f1591f24bece22a31ae9903d92cea774d0ba | |
| parent | 17e262880c13abdc4d7bf72eb7e87146f0f3b1f0 (diff) | |
| download | rust-7c0f664f153f4f41f820723c6b2c758ad5286531.tar.gz rust-7c0f664f153f4f41f820723c6b2c758ad5286531.zip | |
Fix typo
| -rw-r--r-- | src/libstd/ffi/c_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs index 05ab4c3cecc..7f38cadfb22 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -682,7 +682,7 @@ impl Borrow<CStr> for CString { fn borrow(&self) -> &CStr { self } } -#[stable(feature = "cstring_from_cow_cstr", since = "1.2780")] +#[stable(feature = "cstring_from_cow_cstr", since = "1.28.0")] impl<'a> From<Cow<'a, CStr>> for CString { #[inline] fn from(s: Cow<'a, CStr>) -> Self { |
