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
9bed0ddb0e
rust
/
src
/
test
/
run-pass
/
leak-box-as-tydesc.rs
6 lines
70 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 mode syntax, step 1 Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-12 04:27:30 -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
Port the tests to the expr foo::<T> syntax.
2011-08-13 02:10:18 -05:00
fn
main
(
)
{
let
x
=
@
10
;
leaky
::
<
@
int
>
(
x
)
;
}
Reference in New Issue
Copy Permalink