Skip to content

Commit a9a233e

Browse files
oisyneddyb
authored andcommitted
Linter fix
1 parent 14bbae1 commit a9a233e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rustc_codegen_spirv/src/builder/spirv_asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ impl<'cx, 'tcx> Builder<'cx, 'tcx> {
515515
while let Some(LogicalOperand { kind, quantifier }) = logical_operand_stack.pop_front() {
516516
if kind == OperandKind::IdResult {
517517
assert_eq!(quantifier, OperandQuantifier::One);
518-
if instruction.result_id == None {
518+
if instruction.result_id.is_none() {
519519
self.err(&format!(
520520
"instruction {} expects a result id",
521521
instruction.class.opname

0 commit comments

Comments
 (0)