Skip to content

Commit 153b1f2

Browse files
Removing unneeded Clone bound on A in map_axis_mut.
1 parent b35a51b commit 153b1f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ impl<A, S, D> ArrayBase<S, D> where S: Data<Elem=A>, D: Dimension
18621862
-> Array<B, D::Smaller>
18631863
where D: RemoveAxis,
18641864
F: FnMut(ArrayViewMut1<'a, A>) -> B,
1865-
A: 'a + Clone,
1865+
A: 'a,
18661866
S: DataMut,
18671867
{
18681868
let view_len = self.len_of(axis);

0 commit comments

Comments
 (0)