Fix warning that emerged with FnMut->FnOnce from previous commit
@@ -481,7 +481,7 @@ impl<T: RenderTarget> Canvas<T> {
/// ```
///
- pub fn with_texture_canvas<F>(&mut self, texture: &mut Texture, mut f: F)
+ pub fn with_texture_canvas<F>(&mut self, texture: &mut Texture, f: F)
-> Result<(), TargetRenderError> where for<'r> F: FnOnce(&'r mut Canvas<T>,) {
if self.render_target_supported() {
unsafe { self.set_raw_target(texture.raw) }
