rust-ndarray / ndarray

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
https://docs.rs/ndarray/
Apache License 2.0
3.43k stars 295 forks source link

Use `clone_from()` in two places #1347

Closed ChayimFriedman2 closed 5 months ago

ChayimFriedman2 commented 6 months ago

In fill() and in assign().

adamreichold commented 6 months ago

Let's see if this compatible with the current MSRV.

ChayimFriedman2 commented 6 months ago

clone_from() is there since v1 of Rust.