Skip to content

Commit

Permalink
update original
Browse files Browse the repository at this point in the history
  • Loading branch information
funkill committed Oct 29, 2024
1 parent 2a46fbe commit 05accae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-book/examples/02_02_future_trait/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ where
// the second!
Poll::Ready(()) => self.first.take(),
// We couldn't yet complete the first future.
// Notice that we disrupt the flow of the `pool` function with the `return` statement.
// Notice that we disrupt the flow of the `poll` function with the `return` statement.
Poll::Pending => return Poll::Pending,
};
}
Expand Down

0 comments on commit 05accae

Please sign in to comment.