mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
rusticl/types: fix clippy new() not returning Self
Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23129>
This commit is contained in:
parent
3d73bd48c0
commit
29d324cc75
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ pub fn create_program_with_binary(
|
|||
|
||||
// just return the last one
|
||||
err = dev_err;
|
||||
bins[i] = unsafe { slice::from_raw_parts(binaries[i], lengths[i] as usize) };
|
||||
bins[i] = unsafe { slice::from_raw_parts(binaries[i], lengths[i]) };
|
||||
}
|
||||
|
||||
if err != 0 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue