From 1aa1a0c0d5d4dd19ad9d7c08aa34df52b236bfc7 Mon Sep 17 00:00:00 2001 From: Jonathan Klimt Date: Sat, 28 Mar 2020 11:39:02 +0100 Subject: [PATCH] Fixed minor typo in example code (#769) `WaitingOnFooTxt` -> `WaitingOnBarTxt` --- blog/content/second-edition/posts/12-async-await/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/12-async-await/index.md b/blog/content/second-edition/posts/12-async-await/index.md index cf7ab83f..51dc9017 100644 --- a/blog/content/second-edition/posts/12-async-await/index.md +++ b/blog/content/second-edition/posts/12-async-await/index.md @@ -382,7 +382,7 @@ impl Future for ExampleStateMachine { match self { // TODO: handle pinning ExampleStateMachine::Start(state) => {…} ExampleStateMachine::WaitingOnFooTxt(state) => {…} - ExampleStateMachine::WaitingOnFooTxt(state) => {…} + ExampleStateMachine::WaitingOnBarTxt(state) => {…} ExampleStateMachine::End(state) => {…} } }