Skip to content

Commit a71b509

Browse files
committed
Fixes the clippy lint and docs broken link
1 parent 0dedc3e commit a71b509

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/arraytraits.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ where
158158

159159
/// Return `true` if the array shapes and all elements of `self` and
160160
/// `rhs` are equal. Return `false` otherwise.
161-
#[allow(clippy::unconditional_recursion)] // false positive
162-
impl<'a, A, B, D> PartialEq<&'a ArrayRef<B, D>> for ArrayRef<A, D>
161+
impl<A, B, D> PartialEq<&ArrayRef<B, D>> for ArrayRef<A, D>
163162
where
164163
A: PartialEq<B>,
165164
D: Dimension,
@@ -172,8 +171,7 @@ where
172171

173172
/// Return `true` if the array shapes and all elements of `self` and
174173
/// `rhs` are equal. Return `false` otherwise.
175-
#[allow(clippy::unconditional_recursion)] // false positive
176-
impl<'a, A, B, D> PartialEq<ArrayRef<B, D>> for &'a ArrayRef<A, D>
174+
impl<A, B, D> PartialEq<ArrayRef<B, D>> for &ArrayRef<A, D>
177175
where
178176
A: PartialEq<B>,
179177
D: Dimension,

src/doc/ndarray_for_numpy_users/rk_step.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
//! # fn main() { let _ = rk_step::<fn(_, ArrayView1<'_, f64>, ArrayViewMut1<'_, f64>)>; }
169169
//! ```
170170
//!
171-
//! [`.scaled_add()`]: crate::ArrayBase::scaled_add
171+
//! [`.scaled_add()`]: crate::ArrayRef::scaled_add
172172
//! [`azip!()`]: crate::azip!
173173
//!
174174
//! ### SciPy license

0 commit comments

Comments
 (0)