wording: get rid of "to from"

I tripped up on "to from" when I first read this
This commit is contained in:
Matthew Kenigsberg
2021-12-26 20:26:40 -05:00
committed by Carol (Nichols || Goulding)
parent 53f1492a62
commit 059f85014f
+1 -1
View File
@@ -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