mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-07 02:41:55 +00:00
refactor(av1): use method path instead of closure (S1612) (#1269)
This commit is contained in:
1 parent
dbc5e164dd
commit
13ed8889da
1 file changed
+1
-1
@@ -104,7 +104,7 @@ impl<const L: usize> Lane for [i32; L] {
|
||||
}
|
||||
#[inline(always)]
|
||||
fn neg(self) -> Self {
|
||||
self.map(|v| v.wrapping_neg())
|
||||
self.map(i32::wrapping_neg)
|
||||
}
|
||||
#[inline(always)]
|
||||
fn mul_round12(self, m: i32) -> Self {
|
||||
|
||||
Reference in new issue
Block a user