Skip to content

Commit e614bb7

Browse files
committed
book: ownership: fix typo
1 parent d91f8ab commit e614bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/ownership.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ vector object and its data live in separate memory regions instead of being a
155155
single contiguous memory allocation (due to reasons we will not go into at
156156
this point of time). These two parts of the vector (the one on the stack and
157157
one on the heap) must agree with each other at all times with regards to
158-
things like the length, capacity etc.
158+
things like the length, capacity, etc.
159159

160160
When we move `v` to `v2`, Rust actually does a bitwise copy of the vector
161161
object `v` into the stack allocation represented by `v2`. This shallow copy

0 commit comments

Comments
 (0)