From b7443bef83efd28e97f8184016824b0c176c0821 Mon Sep 17 00:00:00 2001 From: Tetsuharu OHZEKI Date: Sat, 31 Jan 2015 17:19:04 +0900 Subject: [PATCH] Remove JS.transmute(). --- components/script/dom/bindings/js.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/script/dom/bindings/js.rs b/components/script/dom/bindings/js.rs index 3b74bd65194..ee2bf53e238 100644 --- a/components/script/dom/bindings/js.rs +++ b/components/script/dom/bindings/js.rs @@ -395,12 +395,6 @@ impl LayoutJS { } impl JS { - /// Return `self` as a `JS` of another type. - //XXXjdm It would be lovely if this could be private. - pub unsafe fn transmute(self) -> JS { - mem::transmute(self) - } - /// Return `self` as a `JS` of another type. pub unsafe fn transmute_copy(&self) -> JS { mem::transmute_copy(self)