Skip to content

Commit cb74358

Browse files
committed
Fixes some broken references in the docs
1 parent 3ce0134 commit cb74358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/impl_methods.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ impl<A, D: Dimension> ArrayRef<A, D>
14351435
/// The windows are all distinct overlapping views of size `window_size`
14361436
/// that fit into the array's shape.
14371437
///
1438-
/// This is essentially equivalent to [`.windows_with_stride()`] with unit stride.
1438+
/// This is essentially equivalent to [`ArrayRef::windows_with_stride()`] with unit stride.
14391439
#[track_caller]
14401440
pub fn windows<E>(&self, window_size: E) -> Windows<'_, A, D>
14411441
where E: IntoDimension<Dim = D>
@@ -2170,7 +2170,7 @@ where
21702170
/// **Panics** if shapes are incompatible.
21712171
///
21722172
/// *This method is obsolete, because it is inflexible in how logical order
2173-
/// of the array is handled. See [`.to_shape()`].*
2173+
/// of the array is handled. See [`ArrayRef::to_shape()`].*
21742174
///
21752175
/// ```
21762176
/// use ndarray::{rcarr1, rcarr2};

0 commit comments

Comments
 (0)