Skip to content

Commit

Permalink
fix(docs): README typos (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
benknowles authored May 6, 2024
1 parent f814e32 commit 84ba140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ async fn long_task() -> u32 {

fn my_system(mut task_executor: AsyncTaskRunner<u32>) {
match task_executor.poll() {
AsnycTaskStatus::Idle => {
AsyncTaskStatus::Idle => {
task_executor.start(long_task());
println!("Started new task!");
}
AsnycTaskStatus::Pending => {
AsyncTaskStatus::Pending => {
// <Insert loading screen>
}
AsnycTaskStatus::Finished(v) => {
AsyncTaskStatus::Finished(v) => {
println!("Received {v}");
}
}
Expand Down

0 comments on commit 84ba140

Please sign in to comment.