From 611698ec5fc9778012c56b58dc22489c9e370f41 Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 17 May 2022 14:57:54 +0900 Subject: [PATCH] Delete unnecessary brackets --- blog/content/edition-2/posts/12-async-await/index.ja.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/content/edition-2/posts/12-async-await/index.ja.md b/blog/content/edition-2/posts/12-async-await/index.ja.md index 121bcfc1..f717fada 100644 --- a/blog/content/edition-2/posts/12-async-await/index.ja.md +++ b/blog/content/edition-2/posts/12-async-await/index.ja.md @@ -425,7 +425,7 @@ ExampleStateMachine::WaitingOnFooTxt(state) => { }; *self = ExampleStateMachine::WaitingOnBarTxt(state); } else { - *self = ExampleStateMachine::End(EndState)); + *self = ExampleStateMachine::End(EndState); return Poll::Ready(content); } } @@ -446,7 +446,7 @@ ExampleStateMachine::WaitingOnBarTxt(state) => { match state.bar_txt_future.poll(cx) { Poll::Pending => return Poll::Pending, Poll::Ready(bar_txt) => { - *self = ExampleStateMachine::End(EndState)); + *self = ExampleStateMachine::End(EndState); // from body of `example` return Poll::Ready(state.content + &bar_txt); }