This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
pretty
/
do1.rs
6 lines
101 B
Rust
Raw
Permalink
Blame
History
//@ pp-exact
fn
f
<
F
>
(
f
:
F
)
where
F
:
Fn
(
isize
)
{
f
(
10
)
}
fn
main
(
)
{
f
(
|
i
|
{
assert_eq!
(
i
,
10
)
}
)
}
Reference in New Issue
View Git Blame
Copy Permalink