Skip to content

Commit

Permalink
Fix too many args clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
evahop committed Mar 15, 2023
1 parent c97c69e commit 4e8fa46
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/front/spv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,7 @@ impl<I: Iterator<Item = u32>> Frontend<I> {
block: &mut crate::Block,
block_id: spirv::Word,
body_idx: usize,
axis: crate::DerivativeAxis,
ctrl: crate::DerivativeControl,
(axis, ctrl): (crate::DerivativeAxis, crate::DerivativeControl),
) -> Result<(), Error> {
let start = self.data_offset;
let result_type_id = self.next()?;
Expand Down Expand Up @@ -1297,8 +1296,7 @@ impl<I: Iterator<Item = u32>> Frontend<I> {
&mut block,
block_id,
body_idx,
$axis,
$ctrl,
($axis, $ctrl),
)
};
}
Expand Down

0 comments on commit 4e8fa46

Please sign in to comment.