|
17 | 17 | clippy::while_let_on_iterator, // is not an error
|
18 | 18 | clippy::from_iter_instead_of_collect, // using from_iter is good style
|
19 | 19 | clippy::redundant_closure, // false positives clippy #7812
|
| 20 | + clippy::incompatible_msrv, // false positive PointerExt::offset |
20 | 21 | )]
|
21 | 22 | #![doc(test(attr(deny(warnings))))]
|
22 | 23 | #![doc(test(attr(allow(unused_variables))))]
|
|
36 | 37 | //! It is used to implement both the owned arrays and the views; see its docs
|
37 | 38 | //! for an overview of all array features.<br>
|
38 | 39 | //! - The main specific array type is **[`Array`]**, which owns
|
39 |
| -//! its elements. |
| 40 | +//! its elements. |
40 | 41 | //!
|
41 | 42 | //! ## Highlights
|
42 | 43 | //!
|
@@ -376,14 +377,14 @@ pub type Ixs = isize;
|
376 | 377 | ///
|
377 | 378 | /// - A [`struct@Dim`] value represents a dimensionality or index.
|
378 | 379 | /// - Trait [`Dimension`] is implemented by all
|
379 |
| -/// dimensionalities. It defines many operations for dimensions and indices. |
| 380 | +/// dimensionalities. It defines many operations for dimensions and indices. |
380 | 381 | /// - Trait [`IntoDimension`] is used to convert into a
|
381 |
| -/// `Dim` value. |
| 382 | +/// `Dim` value. |
382 | 383 | /// - Trait [`ShapeBuilder`] is an extension of
|
383 |
| -/// `IntoDimension` and is used when constructing an array. A shape describes |
384 |
| -/// not just the extent of each axis but also their strides. |
| 384 | +/// `IntoDimension` and is used when constructing an array. A shape describes |
| 385 | +/// not just the extent of each axis but also their strides. |
385 | 386 | /// - Trait [`NdIndex`] is an extension of `Dimension` and is
|
386 |
| -/// for values that can be used with indexing syntax. |
| 387 | +/// for values that can be used with indexing syntax. |
387 | 388 | ///
|
388 | 389 | ///
|
389 | 390 | /// The default memory order of an array is *row major* order (a.k.a “c” order),
|
@@ -1329,11 +1330,11 @@ pub type ArcArray<A, D> = ArrayBase<OwnedArcRepr<A>, D>;
|
1329 | 1330 | /// + [Constructor Methods for Owned Arrays](ArrayBase#constructor-methods-for-owned-arrays)
|
1330 | 1331 | /// + [Methods For All Array Types](ArrayBase#methods-for-all-array-types)
|
1331 | 1332 | /// + Dimensionality-specific type alises
|
1332 |
| -/// [`Array1`], |
1333 |
| -/// [`Array2`], |
1334 |
| -/// [`Array3`], ..., |
1335 |
| -/// [`ArrayD`], |
1336 |
| -/// and so on. |
| 1333 | +/// [`Array1`], |
| 1334 | +/// [`Array2`], |
| 1335 | +/// [`Array3`], ..., |
| 1336 | +/// [`ArrayD`], |
| 1337 | +/// and so on. |
1337 | 1338 | pub type Array<A, D> = ArrayBase<OwnedRepr<A>, D>;
|
1338 | 1339 |
|
1339 | 1340 | /// An array with copy-on-write behavior.
|
|
0 commit comments