Skip to content

Commit 7b97f84

Browse files
committed
FEAT: .select() now supports A: Clone
Now that concatenate supports Clonable elements (previous: only Copy), we can loosen the generic restriction on .select() as well.
1 parent 7cd6adf commit 7b97f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_methods.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ where
873873
/// ```
874874
pub fn select(&self, axis: Axis, indices: &[Ix]) -> Array<A, D>
875875
where
876-
A: Copy,
876+
A: Clone,
877877
S: Data,
878878
D: RemoveAxis,
879879
{

0 commit comments

Comments
 (0)