Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
impl-trait
/
fallback.rs
blob: 1e6eb5bb355888c04904570ec6cd6232dd1814db [
file
] [
log
] [
blame
]
// check-pass
fn
take_edge_counters
(
x
:
&
mut
Option
<
Vec
<
i32
>>,
)
->
Option
<
impl
Iterator
<
Item
=
i32
>>
{
x
.
take
().
map_or
(
None
,
|
m
|
Some
(
m
.
into_iter
()))
}
fn
main
()
{}