Fix compilation on Linux - add & to .field (#57)

This commit is contained in:
Xemor
2026-06-13 16:04:59 -04:00
committed by GitHub
parent c237d57d1c
commit 59f5ca2b05
+1 -1
View File
@@ -47,7 +47,7 @@ impl std::fmt::Debug for SurfaceSource {
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
SurfaceSource::Texture { size, .. } => f
.debug_struct("Texture")
.field("size", size)
.field("size", &size)
.finish_non_exhaustive(),
}
}