From 92f73e2b47a890efca6c1dca8e0440a73496da27 Mon Sep 17 00:00:00 2001 From: Wyatt Alt Date: Fri, 18 Oct 2024 08:03:35 -0700 Subject: [PATCH] Fixes typo in example 02_02_future_trait --- examples/02_02_future_trait/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/02_02_future_trait/src/lib.rs b/examples/02_02_future_trait/src/lib.rs index e696703e..1325d38f 100644 --- a/examples/02_02_future_trait/src/lib.rs +++ b/examples/02_02_future_trait/src/lib.rs @@ -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, }; }