Update stability attribute for CStr indexing

This commit is contained in:
David Tolnay 2020-07-18 12:16:25 -07:00
parent f08aae6a2b
commit 30b8835d1d
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -1551,7 +1551,7 @@ impl ops::Index<ops::RangeFull> for CString {
}
}
#[stable(feature = "cstr_range_from", since = "1.45.0")]
#[stable(feature = "cstr_range_from", since = "1.47.0")]
impl ops::Index<ops::RangeFrom<usize>> for CStr {
type Output = CStr;