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
45ccaf04c4
rust
/
src
/
test
/
run-pass
/
unique-autoderef-index.rs
4 lines
59 B
Rust
Raw
Normal View
History
Unescape
Escape
Autoderef indexes and fields of unique boxes Issue #409
2011-09-22 18:04:27 -05:00
fn
main
(
)
{
Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.
2012-06-25 22:00:46 -05:00
let
i
=
~
[
100
]
/
~
;
Autoderef indexes and fields of unique boxes Issue #409
2011-09-22 18:04:27 -05:00
assert
i
[
0
]
=
=
100
;
}
Reference in New Issue
Copy Permalink