index
:
rust
master
Unnamed repository; edit this file 'description' to name the repository.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
generic-fn-box.rs
blob: e821a784598d2275a23e67bcf20dd110a02103df (
plain
) (
blame
)
1
2
3
4
5
6
7
8
9
fn
f
[
T
](
@
T
x
)
->
@
T
{
ret
x
;
}
fn
main
()
{
auto
x
=
f
(
@
3
);
log
*
x
;
}