Skip to content

Commit

Permalink
Fixes typo in example 02_02_future_trait
Browse files Browse the repository at this point in the history
  • Loading branch information
wkalt committed Oct 18, 2024
1 parent c9e2e7a commit 92f73e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 92f73e2

Please sign in to comment.