Skip to content

Commit b9d25de

Browse files
committed
remomve unused variable
1 parent da8e06a commit b9d25de

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/drawing/backend_impl/canvas.rs

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ impl DrawingBackend for CanvasBackend {
7373
type ErrorType = CanvasError;
7474

7575
fn get_size(&self) -> (u32, u32) {
76-
let window = window().unwrap();
7776
(self.canvas.width(), self.canvas.height())
7877
}
7978

0 commit comments

Comments
 (0)