about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-05-21 09:08:10 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-05-21 09:08:10 +0530
commit197aa52de3d2dea54d60e1ffa4cf1ccc4f45ea40 (patch)
tree1e13a42678a5a04eddcb26d9f768bb898017d9b8 /src
parentf262bb899ce4d028d75f9f272db2313dea3cf244 (diff)
parente614bb70c2f662016bdbcc8ef06716849b3ce773 (diff)
downloadrust-197aa52de3d2dea54d60e1ffa4cf1ccc4f45ea40.tar.gz
rust-197aa52de3d2dea54d60e1ffa4cf1ccc4f45ea40.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/doc/book/ownership.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/ownership.md b/src/doc/book/ownership.md
index e2e0403b738..f445bed015c 100644
--- a/src/doc/book/ownership.md
+++ b/src/doc/book/ownership.md
@@ -155,7 +155,7 @@ vector object and its data live in separate memory regions instead of being a
 single contiguous memory allocation (due to reasons we will not go into at
 this point of time). These two parts of the vector (the one on the stack and
 one on the heap) must agree with each other at all times with regards to
-things like the length, capacity etc.
+things like the length, capacity, etc.
 
 When we move `v` to `v2`, Rust actually does a bitwise copy of the vector
 object `v` into the stack allocation represented by `v2`. This shallow copy