mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 00:00:47 +02:00
rusticl/kernel: silence newer clippy warning
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24061>
This commit is contained in:
parent
a1c1cce9df
commit
5bd235189a
1 changed files with 1 additions and 1 deletions
|
|
@ -1240,7 +1240,7 @@ impl Kernel {
|
|||
}
|
||||
|
||||
let block = [
|
||||
*block.get(0).unwrap_or(&1) as u32,
|
||||
*block.first().unwrap_or(&1) as u32,
|
||||
*block.get(1).unwrap_or(&1) as u32,
|
||||
*block.get(2).unwrap_or(&1) as u32,
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue