1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2024-12-07 14:59:28 +01:00
parent 558fe3d3ce
commit e2f31646f2
19 changed files with 25 additions and 26 deletions

View file

@ -131,7 +131,7 @@ fn write_egl_procs<W: Write>(f: &mut W) -> anyhow::Result<()> {
for (name, _, _) in map.iter().copied() {
writeln!(
f,
" {}: unsafe {{ (egl.eglGetProcAddress)(\"{}\\0\".as_ptr() as _) }},",
" {}: unsafe {{ (egl.eglGetProcAddress)(c\"{}\".as_ptr() as _) }},",
name, name
)?;
}