1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-04-03 16:36:05 +02:00
parent b2dbcc742c
commit f4bc7f17bd
4 changed files with 4 additions and 4 deletions

View file

@ -158,7 +158,7 @@ fn write_egl_procs<W: Write>(f: &mut W) -> anyhow::Result<()> {
writeln!(f, " unsafe {{")?;
writeln!(
f,
" ptr::read(&self.{} as *const *mut u8 as *const unsafe extern fn({}) -> {})({})",
r#" ptr::read(&self.{} as *const *mut u8 as *const unsafe extern "C" fn({}) -> {})({})"#,
name, args_tys, ret, args_names
)?;
writeln!(f, " }}")?;