rusticl/kernel: silence newer clippy warning
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24061>
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user