This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
12c32e944d
rust
/
src
/
test
/
run-pass
/
cast-region-to-uint.rs
4 lines
67 B
Rust
Raw
Normal View
History
Unescape
Escape
allow region ptrs to be cast to uints
2012-05-18 21:05:31 -05:00
fn
main
(
)
{
let
x
=
3
;
`m1!{...}` -> `m1!(...)`
2012-08-22 19:24:52 -05:00
debug!
(
"
&x=%x
"
,
ptr
::
to_uint
(
&
x
)
)
;
allow region ptrs to be cast to uints
2012-05-18 21:05:31 -05:00
}
Reference in New Issue
Copy Permalink