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
rust
/
src
/
test
/
run-pass
/
box.rs
5 lines
57 B
Rust
Raw
Normal View
History
Unescape
Escape
Add minimal test for box/deref.
2010-12-02 15:02:17 -08:00
fn
main
(
)
{
let
@
int
x
=
@
10
;
Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02 17:47:24 -07:00
assert
(
(
*
x
)
=
=
10
)
;
Add minimal test for box/deref.
2010-12-02 15:02:17 -08:00
}
Reference in New Issue
Copy Permalink