nak: fix clippy::redundant_closure warnings
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27234>
This commit is contained in:
@@ -155,7 +155,7 @@ pub extern "C" fn nak_compiler_create(
|
||||
assert!(!dev.is_null());
|
||||
let dev = unsafe { &*dev };
|
||||
|
||||
DEBUG.get_or_init(|| Debug::new());
|
||||
DEBUG.get_or_init(Debug::new);
|
||||
|
||||
let nak = Box::new(nak_compiler {
|
||||
sm: dev.sm,
|
||||
|
||||
Reference in New Issue
Block a user