servo/servo — pull request #3655 by kaseyc (2014-10-12 00:28:58+00:00)
Title: Add a to_js method to the casting trait code in CodegenRust.py

Replace the manual checks and calls to transmute_copy in /layout/wrapper.rs with calls to to_js/

Fixes #3616