Skip to content

Conversation

jimblandy
Copy link
Member

In naga::valid::interface::VaryingContext::validate, use let else instead of match, to promote the main flow of control to a lower indentation level, and move error reporting closer to the check that failed.

This should land after #8104, as it will conflict with that, and this PR is just a cleanup.

In `naga::valid::interface::VaryingContext::validate`, use `let else`
instead of `match`, to promote the main flow of control to a lower
indentation level, and move error reporting closer to the check that
failed.
@jimblandy jimblandy marked this pull request as ready for review October 16, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants