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
8d381823e2
rust
/
src
/
test
/
run-pass
/
box-compare.rs
5 lines
105 B
Rust
Raw
Normal View
History
Unescape
Escape
Implement deep structural comparison through boxes and sequences.
2011-03-09 22:14:19 -06:00
fn
main
(
)
{
Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02 19:47:24 -05:00
assert
(
@
1
<
@
3
)
;
assert
(
@
@
"
hello
"
>
@
@
"
hello
"
)
;
assert
(
@
@
@
"
hello
"
!
=
@
@
@
"
there
"
)
;
Implement deep structural comparison through boxes and sequences.
2011-03-09 22:14:19 -06:00
}
Reference in New Issue
Copy Permalink