mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Fix links
This commit is contained in:
parent
bb70e52f5f
commit
202b242d87
@ -356,7 +356,7 @@ impl<T> [T] {
|
||||
///
|
||||
/// [`get_unchecked`]: #method.get_unchecked
|
||||
/// [`get_unchecked_mut`]: #method.get_unchecked_mut
|
||||
/// [`Range`]: ../ops/struct.Range.html
|
||||
/// [`Range`]: ops/struct.Range.html
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
@ -393,7 +393,7 @@ impl<T> [T] {
|
||||
/// [10, 40, 30].check_range(1..=usize::MAX);
|
||||
/// ```
|
||||
///
|
||||
/// [`Index::index`]: ../ops/trait.Index.html#tymethod.index
|
||||
/// [`Index::index`]: ops/trait.Index.html#tymethod.index
|
||||
#[track_caller]
|
||||
#[unstable(feature = "slice_check_range", issue = "none")]
|
||||
pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {
|
||||
|
Loading…
Reference in New Issue
Block a user