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
e4a0f997fb
rust
/
src
/
test
/
run-pass
/
vec-late-init.rs
7 lines
109 B
Rust
Raw
Normal View
History
Unescape
Escape
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Fix post-stmt drop calculations. Closes #106.
2010-07-12 00:31:56 -05:00
fn
main
(
)
{
Convert most working tests to ivecs I tried to pay attention to what was actually being tested so, e.g. when I test was just using a vec as a boxed thing, I converted to boxed ints, etc. Haven't converted the macro tests yet. Not sure what to do there.
2011-08-12 17:42:39 -05:00
let
later
:
[
int
]
;
if
true
{
later
=
~
[
1
]
;
}
else
{
later
=
~
[
2
]
;
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
log
later
.
(
0
)
;
Fix post-stmt drop calculations. Closes #106.
2010-07-12 00:31:56 -05:00
}
Reference in New Issue
Copy Permalink