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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38924>
This commit is contained in:
parent
590daa1282
commit
4f91d4d888
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue