diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2015-01-31 17:19:04 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2015-02-01 01:54:38 +0900 |
commit | b7443bef83efd28e97f8184016824b0c176c0821 (patch) | |
tree | 945cc87ade98954d00b32396290f7d730e918ee4 /components | |
parent | 9f57fa17d0e5b188b4c33145c659f2abf2315a22 (diff) | |
download | servo-b7443bef83efd28e97f8184016824b0c176c0821.tar.gz servo-b7443bef83efd28e97f8184016824b0c176c0821.zip |
Remove JS<From>.transmute<To>().
Diffstat (limited to 'components')
-rw-r--r-- | components/script/dom/bindings/js.rs | 6 |
1 files changed, 0 insertions, 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 @@ -396,12 +396,6 @@ impl<T: Reflectable> LayoutJS<T> { impl<From> JS<From> { /// Return `self` as a `JS` of another type. - //XXXjdm It would be lovely if this could be private. - pub unsafe fn transmute<To>(self) -> JS<To> { - mem::transmute(self) - } - - /// Return `self` as a `JS` of another type. pub unsafe fn transmute_copy<To>(&self) -> JS<To> { mem::transmute_copy(self) } |