Skip to content

Commit 222ed89

Browse files
committed
move mod: fix cargo gpu clippy
1 parent 569dbc4 commit 222ed89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/spirv-std/src/image.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ impl<
446446
coordinate = in(reg) &coordinate,
447447
depth_reference = in(reg) &depth_reference,
448448
lod = in(reg) &lod,
449-
)
449+
);
450450
}
451451
result
452452
}
@@ -698,7 +698,7 @@ impl<
698698
coordinate = in(reg) &coordinate,
699699
depth_reference = in(reg) &depth_reference,
700700
lod = in(reg) &lod,
701-
)
701+
);
702702
}
703703
result
704704
}

crates/spirv-std/src/ray_tracing/ray_query.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ impl RayQuery {
193193
result = out(reg) result,
194194
}
195195

196+
#[allow(clippy::match_same_arms)]
196197
match result {
197198
0 => CandidateIntersection::Triangle,
198199
1 => CandidateIntersection::AABB,
@@ -217,6 +218,7 @@ impl RayQuery {
217218
result = out(reg) result,
218219
}
219220

221+
#[allow(clippy::match_same_arms)]
220222
match result {
221223
0 => CommittedIntersection::None,
222224
1 => CommittedIntersection::Triangle,

0 commit comments

Comments
 (0)