[naga] Remove vestigial false. (#6909)

This commit is contained in:
Jim Blandy
2025-01-13 15:02:47 -08:00
committed by GitHub
parent 1963eb7c3f
commit aa7bec65b9

View File

@@ -262,7 +262,7 @@ impl super::Validator {
| Ti::Array { .. }
| Ti::Pointer { .. }
| Ti::ValuePointer { size: Some(_), .. }
| Ti::BindingArray { .. } => false,
| Ti::BindingArray { .. } => {}
ref other => {
log::error!("Indexing of {:?}", other);
return Err(ExpressionError::InvalidBaseType(base));