mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
Linter fix
This commit is contained in:
parent
14bbae1e4b
commit
a9a233eb80
@ -515,7 +515,7 @@ impl<'cx, 'tcx> Builder<'cx, 'tcx> {
|
||||
while let Some(LogicalOperand { kind, quantifier }) = logical_operand_stack.pop_front() {
|
||||
if kind == OperandKind::IdResult {
|
||||
assert_eq!(quantifier, OperandQuantifier::One);
|
||||
if instruction.result_id == None {
|
||||
if instruction.result_id.is_none() {
|
||||
self.err(&format!(
|
||||
"instruction {} expects a result id",
|
||||
instruction.class.opname
|
||||
|
Loading…
Reference in New Issue
Block a user