Clippy fixes

This commit is contained in:
Ian Douglas Scott 2023-02-09 14:29:34 -08:00
parent 8c690e9648
commit a5b78a4300
4 changed files with 38 additions and 35 deletions

View file

@ -41,6 +41,7 @@ impl Buffer {
}
// Buffer must be released by server for safety
#[allow(clippy::wrong_self_convention)]
pub unsafe fn to_image(&mut self) -> image::Handle {
// XXX is this at all a performance issue?
image::Handle::from_pixels(