mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
update: servo for rust language change
This commit is contained in:
parent
93e7eb798c
commit
7c6e90ed89
1 changed files with 2 additions and 2 deletions
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
macro_rules! move_ref(
|
macro_rules! move_ref(
|
||||||
{ $x:expr } => { unsafe { let y <- *ptr::addr_of(*$x); y } }
|
{ $x:expr } => { unsafe { let y <- *ptr::to_unsafe_ptr(*$x); y } }
|
||||||
)
|
)
|
||||||
|
|
||||||
macro_rules! move_val(
|
macro_rules! move_val(
|
||||||
{ $x:expr } => { unsafe { let y <- *ptr::addr_of(*$x); y } }
|
{ $x:expr } => { unsafe { let y <- *ptr::to_unsafe_ptr(*$x); y } }
|
||||||
)
|
)
|
||||||
|
|
||||||
// select!
|
// select!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue