Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ a
Function
a
13_async/rust/std_async/src/main.rs:5–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
use futures::FutureExt as BoxedExt;
4
5
async fn a() -> u8 {
6
println!(
"Hello ..."
);
7
async_std::task::sleep(std::time::Duration::from_secs(3)).await;
8
println!(
"waited"
);
9
1u8
10
}
11
12
async fn b() -> u8 {
13
println!(
"... World!"
);
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected