ndarray
ndarray copied to clipboard
Simplify `s![]`
trafficstars
Fixes #1194 with a very slight generalization to make this arm more similar to the other arms.
Check failures are
I'm sorry this has now been conflicted by other changes, so I'll close this for now. I'm not sure about the simplification, the old version makes sure the dimensions are really Ix0 (empty) for the empty slice, and this one doesn't have the same effect? Not sure.
It doesn't, tbf. The main reason I made the PR is that $crate in macro patterns is pretty cursed.