Skip to content

Commit 30b8835

Browse files
committed
Update stability attribute for CStr indexing
1 parent f08aae6 commit 30b8835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/c_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ impl ops::Index<ops::RangeFull> for CString {
15511551
}
15521552
}
15531553

1554-
#[stable(feature = "cstr_range_from", since = "1.45.0")]
1554+
#[stable(feature = "cstr_range_from", since = "1.47.0")]
15551555
impl ops::Index<ops::RangeFrom<usize>> for CStr {
15561556
type Output = CStr;
15571557

0 commit comments

Comments
 (0)