Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 3aa69da

Browse files
committed
chore: fix codestyle in host_coro example
1 parent 250402c commit 3aa69da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/host_coro.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ fn main() -> eyre::Result<()> {
7474
let greeter = instance.exported_func_untyped(&store, "call_hello")?;
7575
let call_res = greeter.call_coro(&mut store, &[])?;
7676
let mut resumable = match call_res {
77-
tinywasm::PotentialCoroCallResult::Return(..) => bail!("it was supposed to return"),
77+
tinywasm::PotentialCoroCallResult::Return(..) => bail!("it's supposed to return"),
7878
tinywasm::PotentialCoroCallResult::Suspended(SuspendReason::Yield(Some(val)), resumable) => {
7979
match val.downcast::<MyUserData>() {
80-
Ok(val) => assert_eq!( val.magic, 42 ),
80+
Ok(val) => assert_eq!(val.magic, 42),
8181
Err(_) => bail!("invalid yielded val"),
8282
}
8383
resumable

0 commit comments

Comments
 (0)