Skip to content

Commit efdb663

Browse files
committed
finishing touches
1 parent cb0ac06 commit efdb663

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/pointer_in_nomem_asm_block.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ fn has_in_operand_pointer(cx: &LateContext<'_>, asm_op: &InlineAsmOperand<'_>) -
1212
| InlineAsmOperand::Const { .. }
1313
| InlineAsmOperand::SymFn { .. }
1414
| InlineAsmOperand::Label { .. } => return false,
15-
InlineAsmOperand::In { expr, .. } => expr,
16-
InlineAsmOperand::InOut { expr, .. } => expr,
1715
InlineAsmOperand::SplitInOut { in_expr, .. } => in_expr,
16+
InlineAsmOperand::In { expr, .. } | InlineAsmOperand::InOut { expr, .. } => expr,
1817
};
1918

2019
// This checks for raw ptrs, refs and function pointers - the last one

0 commit comments

Comments
 (0)