We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f113225 commit cb6e46fCopy full SHA for cb6e46f
1 file changed
rust/spirv-tools-core/src/validation/cfg_analysis.rs
@@ -249,9 +249,9 @@ impl ControlFlowGraph {
249
let exit_blocks: Vec<Id> = blocks
250
.iter()
251
.filter(|b| {
252
- successors.get(b).is_none_or(|s| {
253
- s.is_empty() || s.iter().all(|t| !blocks.contains(t))
254
- })
+ successors
+ .get(b)
+ .is_none_or(|s| s.is_empty() || s.iter().all(|t| !blocks.contains(t)))
255
})
256
.copied()
257
.collect();
0 commit comments