Clippy fixes
This commit is contained in:
parent
8c690e9648
commit
a5b78a4300
4 changed files with 38 additions and 35 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue