]> git.lizzy.rs Git - rust.git/commitdiff
Merge portable-simd#207 - ./feature/simplify-select
authorJubilee <46493976+workingjubilee@users.noreply.github.com>
Sun, 5 Dec 2021 00:07:40 +0000 (16:07 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Dec 2021 00:07:40 +0000 (16:07 -0800)
Remove Select trait

I realized that our `select` implementation predated `Simd` being generic over element type, and we don't really need the `Select` trait at all. The function signature is much simpler now (generic over element type, rather than over the entire vector). This did require changing mask select to be a different function, but I think that's fine considering they're not necessarily vectors.


Trivial merge