Merge pull request #785 from afdw/master

Add initial support for unions in return types, add more fixes for case of identifiers
This commit is contained in:
Alex Crichton
2018-09-05 09:26:42 -07:00
committed by GitHub
4 changed files with 74 additions and 45 deletions

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();