From 4f91d4d8882eafc38dff8fa0f9483001d5ee4b34 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 12 Dec 2025 14:36:24 +0100 Subject: [PATCH] virtgpu_kumquat_ffi: mark single-item match as expected It will presumably get more values in the future and should not just be replaced with an `if`. Part-of: --- src/virtio/virtgpu_kumquat_ffi/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/virtio/virtgpu_kumquat_ffi/lib.rs b/src/virtio/virtgpu_kumquat_ffi/lib.rs index f3c8ffdacfc..2177e4e975b 100644 --- a/src/virtio/virtgpu_kumquat_ffi/lib.rs +++ b/src/virtio/virtgpu_kumquat_ffi/lib.rs @@ -183,6 +183,7 @@ pub unsafe extern "C" fn virtgpu_kumquat_context_init( let mut capset_id: u64 = 0; for param in context_params { + #[expect(clippy::single_match)] match param.param { VIRTGPU_KUMQUAT_CONTEXT_PARAM_CAPSET_ID => { capset_id = param.value;