Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lazy-type-alias-impl-trait
/
lifetime_inference.rs
blob: a7a17d38c96253b5d5fe771996d49da869de7b14 [
file
] [
log
] [
blame
]
//@ check-pass
fn
main
()
{}
fn
nth
<
I
:
Iterator
>(
iter
:
&
mut
I
,
step
:
usize
)
->
impl
FnMut
()
->
Option
<
I
::
Item
>
+
'
_
{
move
||
iter
.
nth
(
step
)
}