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
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 01:05:56 -07:00
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07: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 11:27:30 +02:00
fn
leaky
<
T
>
(
t
:
T
)
{
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07:00
Port the tests to the expr foo::<T> syntax.
2011-08-13 00:10:18 -07:00
fn
main
(
)
{
let
x
=
@
10
;
leaky
::
<
@
int
>
(
x
)
;
}
Reference in New Issue
Copy Permalink