Sign in
fuchsia
/
fuchsia
/
cafe43e483c36c5bfaa6e2decea566ed245832f8
/
.
/
third_party
/
rust_crates
/
vendor
/
async-attributes
/
examples
/
main.rs
blob: 2905131e2a44d5491bf53cbe8b86aaa91e5a3160 [
file
] [
log
] [
blame
]
use
async_std
::
task
;
#[
async_attributes
::
main
]
async
fn
main
()
{
task
::
spawn
(
async
{
println
!(
"Hello, world!"
);
})
.
await
;
}