From 30b8835d1d0f531aa1d5875cde5ffae347177fd3 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 18 Jul 2020 12:16:25 -0700 Subject: [PATCH] Update stability attribute for CStr indexing --- src/libstd/ffi/c_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs index ce254f73619..da25a0ede72 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -1551,7 +1551,7 @@ fn index(&self, _index: ops::RangeFull) -> &CStr { } } -#[stable(feature = "cstr_range_from", since = "1.45.0")] +#[stable(feature = "cstr_range_from", since = "1.47.0")] impl ops::Index> for CStr { type Output = CStr; -- GitLab