Skip to content

Commit cf529c7

Browse files
committed
Adjust documentation for slice_check_range
1 parent cdc8f06 commit cf529c7

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

library/core/src/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl<T> [T] {
399399
///
400400
/// [`Index::index`]: ops::Index::index
401401
#[track_caller]
402-
#[unstable(feature = "slice_check_range", issue = "none")]
402+
#[unstable(feature = "slice_check_range", issue = "76393")]
403403
pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {
404404
let start = match range.start_bound() {
405405
Bound::Included(&start) => start,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# `slice_check_range`
2+
3+
The tracking issue for this feature is: [#76393]
4+
5+
------------------------
6+
7+
This adds [`slice::check_range`].
8+
9+
[#76393]: https://github.com/rust-lang/rust/issues/76393
10+
[`slice::check_range`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.check_range

0 commit comments

Comments
 (0)