Remove an unnecessary cast::transmute call.

This commit is contained in:
Ms2ger 2013-10-17 19:35:53 +02:00
parent 34f89b27b3
commit f58c7874b2

View file

@ -547,7 +547,7 @@ pub struct Reflector {
impl Reflector {
pub fn get_jsobject(&self) -> *JSObject {
unsafe { cast::transmute(self.object) }
self.object
}
pub fn set_jsobject(&mut self, object: *JSObject) {