diff --git a/src/ch03-03-how-functions-work.md b/src/ch03-03-how-functions-work.md index 48b7db7a51..89470df77d 100644 --- a/src/ch03-03-how-functions-work.md +++ b/src/ch03-03-how-functions-work.md @@ -112,8 +112,9 @@ of functions. * **Statements** are instructions that perform some action and do not return a value. -* **Expressions** evaluate to a resultant value. Let’s look at some examples. +* **Expressions** evaluate to a resultant value. +Let’s look at some examples. We’ve actually already used statements and expressions. Creating a variable and assigning a value to it with the `let` keyword is a statement. In Listing 3-1, `let y = 6;` is a statement. @@ -252,4 +253,4 @@ definition and results in an error. In this output, Rust provides a message to possibly help rectify this issue: it suggests removing the semicolon, which would fix the error. -{{#quiz ../quizzes/ch03-03-functions-sec2-expressions.toml}} \ No newline at end of file +{{#quiz ../quizzes/ch03-03-functions-sec2-expressions.toml}}