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
/
vec-in-tup.rs
5 lines
86 B
Rust
Raw
Normal View
History
Unescape
Escape
Remove effect system from src.
2011-04-19 15:35:49 -05:00
fn
main
(
)
{
Rewrite everything to use [] instead of vec() in value position.
2011-05-16 20:21:22 -05:00
let
tup
(
mutable
vec
[
int
]
)
i
=
tup
(
mutable
[
1
,
2
,
3
]
)
;
i
.
_0
=
[
4
,
5
,
6
]
;
Two more testcases for overwriting already-live box-like fields in structures, without leaking.
2010-07-23 14:22:31 -05:00
}
Reference in New Issue
Copy Permalink