From ee0cf842a4496dc7fe77b6a46c124c574d3126cb Mon Sep 17 00:00:00 2001 From: shootingst4r <121058591+shootingst4r@users.noreply.github.com> Date: Thu, 16 Apr 2026 15:21:53 +0000 Subject: [PATCH] Fix clunky phrasing in ch17-01 17.1 The placement of however in the middle of the sentence interrupts the flow and makes it unnecessarily hard to read. Moved the word to the beginning of the sentence. --- src/ch17-01-futures-and-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch17-01-futures-and-syntax.md b/src/ch17-01-futures-and-syntax.md index 4ac55c467a..3947afd472 100644 --- a/src/ch17-01-futures-and-syntax.md +++ b/src/ch17-01-futures-and-syntax.md @@ -305,8 +305,8 @@ point: {{#rustdoc_include ../listings/ch17-async-await/no-listing-state-machine/src/lib.rs:enum}} ``` -Writing the code to transition between each state by hand would be tedious and -error-prone, however, especially when you need to add more functionality and +However, writing the code to transition between each state by hand would be tedious and +error-prone, especially when you need to add more functionality and more states to the code later. Fortunately, the Rust compiler creates and manages the state machine data structures for async code automatically. The normal borrowing and ownership rules around data structures all still apply,