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
4abc471390
rust
/
src
/
test
/
run-pass
/
leak-box-as-tydesc.rs
5 lines
68 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix a leak when box types are used via type descriptors.
2010-09-12 03:05:56 -05:00
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Reformat for new syntax
2011-07-27 07:19:39 -05:00
fn
leaky
[
T
]
(
t
:
&
T
)
{
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Reformat for new syntax
2011-07-27 07:19:39 -05:00
fn
main
(
)
{
let
x
=
@
10
;
leaky
[
@
int
]
(
x
)
;
}
Reference in New Issue
Copy Permalink