Sign in
fuchsia
/
fuchsia
/
cafe43e483c36c5bfaa6e2decea566ed245832f8
/
.
/
third_party
/
rust_crates
/
vendor
/
tokio
/
tests
/
macros_pin.rs
blob: da6e0be6ed2d8685ff6df06a7e66e9a2b17ab4b9 [
file
] [
log
] [
blame
]
async
fn
one
()
{}
async
fn
two
()
{}
#[
tokio
::
test
]
async
fn
multi_pin
()
{
tokio
::
pin
!
{
let
f1
=
one
();
let
f2
=
two
();
}
(&
mut
f1
).
await
;
(&
mut
f2
).
await
;
}