ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

Add additional array -> array view conversions

Open bluss opened this issue 4 years ago • 0 comments

It is best to be "complete" with implementations when possible, since it can always be a breaking change to add it later.

As shown in the test change in this commit, this is a minor type inference breakage due to ArrayView::from(&[]) being ambiguous.

Empty array views should be relatively rare - and one can use ArrayView1 or other means to disambiguate.

bluss avatar Dec 06 '21 19:12 bluss