Skip to content

Commit 4d6188a

Browse files
mockersfLukeMathWalker
authored andcommitted
fix a few links in doc (#751)
1 parent 3b9a8b6 commit 4d6188a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/dimension/dim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::Ix;
1818
/// `Dim` describes the number of axes and the length of each axis
1919
/// in an array. It is also used as an index type.
2020
///
21-
/// See also the [`Dimension` trait](Dimension.t.html) for its methods and
21+
/// See also the [`Dimension` trait](trait.Dimension.html) for its methods and
2222
/// operations.
2323
///
2424
/// # Examples

src/lib.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,15 @@ pub type Ixs = isize;
341341
///
342342
/// Important traits and types for dimension and indexing:
343343
///
344-
/// - A [`Dim`](Dim.t.html) value represents a dimensionality or index.
345-
/// - Trait [`Dimension`](Dimension.t.html) is implemented by all
344+
/// - A [`Dim`](struct.Dim.html) value represents a dimensionality or index.
345+
/// - Trait [`Dimension`](trait.Dimension.html) is implemented by all
346346
/// dimensionalities. It defines many operations for dimensions and indices.
347-
/// - Trait [`IntoDimension`](IntoDimension.t.html) is used to convert into a
347+
/// - Trait [`IntoDimension`](trait.IntoDimension.html) is used to convert into a
348348
/// `Dim` value.
349-
/// - Trait [`ShapeBuilder`](ShapeBuilder.t.html) is an extension of
349+
/// - Trait [`ShapeBuilder`](trait.ShapeBuilder.html) is an extension of
350350
/// `IntoDimension` and is used when constructing an array. A shape describes
351351
/// not just the extent of each axis but also their strides.
352-
/// - Trait [`NdIndex`](NdIndex.t.html) is an extension of `Dimension` and is
352+
/// - Trait [`NdIndex`](trait.NdIndex.html) is an extension of `Dimension` and is
353353
/// for values that can be used with indexing syntax.
354354
///
355355
///
@@ -1289,10 +1289,10 @@ pub type ArcArray<A, D> = ArrayBase<OwnedArcRepr<A>, D>;
12891289
/// + [Constructor Methods for Owned Arrays](struct.ArrayBase.html#constructor-methods-for-owned-arrays)
12901290
/// + [Methods For All Array Types](struct.ArrayBase.html#methods-for-all-array-types)
12911291
/// + Dimensionality-specific type alises
1292-
/// [`Array1`](Array1.t.html),
1293-
/// [`Array2`](Array2.t.html),
1294-
/// [`Array3`](Array3.t.html), ...,
1295-
/// [`ArrayD`](ArrayD.t.html),
1292+
/// [`Array1`](type.Array1.html),
1293+
/// [`Array2`](type.Array2.html),
1294+
/// [`Array3`](type.Array3.html), ...,
1295+
/// [`ArrayD`](type.ArrayD.html),
12961296
/// and so on.
12971297
pub type Array<A, D> = ArrayBase<OwnedRepr<A>, D>;
12981298

0 commit comments

Comments
 (0)