Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
cross-crate
/
auxiliary
/
cci_no_inline_lib.rs
blob: 177dba2178f066ccde49251ff104256672bca098 [
file
] [
log
] [
blame
]
#![
crate_name
=
"cci_no_inline_lib"
]
// same as cci_iter_lib, more-or-less, but not marked inline
pub
fn
iter
<
F
>(
v
:
Vec
<
usize
>
,
mut
f
:
F
)
where F
:
FnMut
(
usize
)
{
let
mut
i
=
0
;
let
n
=
v
.
len
();
while
i
<
n
{
f
(
v
[
i
]);
i
+=
1
;
}
}