We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da8e06a commit b9d25deCopy full SHA for b9d25de
src/drawing/backend_impl/canvas.rs
@@ -73,7 +73,6 @@ impl DrawingBackend for CanvasBackend {
73
type ErrorType = CanvasError;
74
75
fn get_size(&self) -> (u32, u32) {
76
- let window = window().unwrap();
77
(self.canvas.width(), self.canvas.height())
78
}
79
0 commit comments