Skip to content

Commit

Permalink
Update based on RFC comment thread discussions
Browse files Browse the repository at this point in the history
* Use `From` and `As{Ref,Mut}` instead of custom upcasting trait. Allows
  upcasting multiple steps at a time and is more familiar.

* Introduce arbitrary unchecked casting escape hatch.

* Some refactoring of dynamic casts (and unchecked casts) into the `JsCast`
  trait.
  • Loading branch information
fitzgen committed Jul 19, 2018
1 parent a8bfb29 commit 6c9b1cf
Showing 1 changed file with 325 additions and 134 deletions.
Loading

0 comments on commit 6c9b1cf

Please sign in to comment.