Skip to content

Commit 197aa52

Browse files
committed
Rollup merge of #33750 - alx741:fix_typo, r=Manishearth
book: ownership: fix typo The sentence ends there, so a comma is required. See: http://english.stackexchange.com/questions/1469/when-ending-a-list-with-etc-should-there-be-a-comma-before-etc
2 parents f262bb8 + e614bb7 commit 197aa52

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)