From f38bc31bd39b1fab1179a91752b69084c6ba7ded Mon Sep 17 00:00:00 2001 From: Constantine Solovev Date: Mon, 21 Dec 2020 21:00:52 +0400 Subject: [PATCH] Update 1_futures_in_rust.md --- src/1_futures_in_rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/1_futures_in_rust.md b/src/1_futures_in_rust.md index 424a00f..fc18b1d 100644 --- a/src/1_futures_in_rust.md +++ b/src/1_futures_in_rust.md @@ -123,7 +123,7 @@ understand the lifecycle and ownership of a Waker, you'll understand how futures perspective. Here is the lifecycle: - A Waker is created by the **executor** -- When a guture is registered with an executor, it’s given a clone of the Waker object created by +- When a future is registered with an executor, it’s given a clone of the Waker object created by the executor. Since this is a shared object (e.g. an `Arc`), all clones actually point to the same underlying object - The future clones the Waker and passes it to the reactor, which stores it to use later.