Closed
Description
The following doesn't work, due to the signature of ArrayBase::slice.
fn foo<'a>(x: ArrayView1<'a, i32>) -> ArrayView<'a, i32> {
x.slice(s![1..])
}
It would be nice to have a method dedicated to this on ArrayView, similarly to ArrayView::to_slice
, (which is a taylor-adapted version of ArrayBase::as_slice
).
Metadata
Metadata
Assignees
Labels
No labels