mirror of
https://github.com/rust-lang/book.git
synced 2026-04-03 07:42:49 -04:00
wording: get rid of "to from"
I tripped up on "to from" when I first read this
This commit is contained in:
committed by
Carol (Nichols || Goulding)
parent
53f1492a62
commit
059f85014f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user