Skip to content

Commit

Permalink
Update stability attribute for CStr indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 18, 2020
1 parent f08aae6 commit 30b8835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/ffi/c_str.rs
Expand Up @@ -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;

Expand Down

0 comments on commit 30b8835

Please sign in to comment.