mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove JS<From>.transmute<To>().
This commit is contained in:
parent
9f57fa17d0
commit
b7443bef83
1 changed files with 0 additions and 6 deletions
|
@ -395,12 +395,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue