From 059f85014f2a96b7a2dcdc23e01c87ae319873bc Mon Sep 17 00:00:00 2001 From: Matthew Kenigsberg <40775676+mkenigs@users.noreply.github.com> Date: Thu, 9 Dec 2021 18:24:06 -0600 Subject: [PATCH] wording: get rid of "to from" I tripped up on "to from" when I first read this --- src/ch03-01-variables-and-mutability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch03-01-variables-and-mutability.md b/src/ch03-01-variables-and-mutability.md index 261279fb6..d4d8b5401 100644 --- a/src/ch03-01-variables-and-mutability.md +++ b/src/ch03-01-variables-and-mutability.md @@ -69,7 +69,7 @@ When we run the program now, we get this: {{#include ../listings/ch03-common-programming-concepts/no-listing-02-adding-mut/output.txt}} ``` -We’re allowed to change the value that `x` binds to from `5` to `6` when `mut` +We’re allowed to change the value bound to `x` from `5` to `6` when `mut` is used. There are multiple trade-offs to consider in addition to the prevention of bugs. For example, in cases where you’re using large data structures, mutating an instance in place may be faster than copying and