diff --git a/nostarch/chapter04.md b/nostarch/chapter04.md index 0edc26dfc..cbcad103e 100644 --- a/nostarch/chapter04.md +++ b/nostarch/chapter04.md @@ -525,7 +525,7 @@ implement `Copy`: ### Ownership and Functions -The semantics for passing a value to a function are similar to those for +The mechanics of passing a value to a function are similar to those when assigning a value to a variable. Passing a variable to a function will move or copy, just as assignment does. Listing 4-3 has an example with some annotations showing where variables go into and out of scope. diff --git a/src/ch04-01-what-is-ownership.md b/src/ch04-01-what-is-ownership.md index df99b4e2a..4a8c4cfc9 100644 --- a/src/ch04-01-what-is-ownership.md +++ b/src/ch04-01-what-is-ownership.md @@ -404,7 +404,7 @@ implement `Copy`: ### Ownership and Functions -The semantics for passing a value to a function are similar to those for +The mechanics of passing a value to a function are similar to those when assigning a value to a variable. Passing a variable to a function will move or copy, just as assignment does. Listing 4-3 has an example with some annotations showing where variables go into and out of scope.