Skip to content

Commit

Permalink
Fixed minor typo in example code (#769)
Browse files Browse the repository at this point in the history
`WaitingOnFooTxt` -> `WaitingOnBarTxt`
  • Loading branch information
jounathaen authored Mar 28, 2020
1 parent 74969cd commit 1aa1a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/content/second-edition/posts/12-async-await/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {…}
}
}
Expand Down

0 comments on commit 1aa1a0c

Please sign in to comment.