Skip to content

Commit 8d27e2a

Browse files
Update src/scope/move/partial_move.md
Co-authored-by: Mario Idival <marioidival@gmail.com>
1 parent 60bd3fb commit 8d27e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/move/partial_move.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn main() {
3838
(In this example, we store the `age` variable on the heap to
3939
illustrate the partial move: deleting `ref` in the above code would
4040
give an error as the ownership of `person.age` would be moved to the
41-
variable `age`. If `Person.age` were stored on the stack, `ref`would
41+
variable `age`. If `Person.age` were stored on the stack, `ref` would
4242
not be required as the definition of `age` would copy the data from
4343
`person.age` without moving it.)
4444

0 commit comments

Comments
 (0)