Fix canvas test

This commit is contained in:
Anton Danilkin 2018-09-02 20:51:37 +03:00
parent 75ac7ca64e
commit 14c2c04ccd

View File

@ -19,7 +19,7 @@ pub fn draw() {
.get_context("2d")
.unwrap()
.unwrap()
.dyn_into::<web_sys::CanvasRenderingContext2D>()
.dyn_into::<web_sys::CanvasRenderingContext2d>()
.unwrap();
context.begin_path();