about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-25 08:08:18 -0700
committerGitHub <noreply@github.com>2016-09-25 08:08:18 -0700
commit49dd95b07807a26f94bf11eb4771bbb7d79ef02c (patch)
tree798ecba226880d969248d34338918d15c77e5d03 /src
parent2d1d4d199471dbdf0828acbc06cfe452463569af (diff)
parentb67a8439f92e6a24b5baa3c6d1b0492bbe86400e (diff)
downloadrust-49dd95b07807a26f94bf11eb4771bbb7d79ef02c.tar.gz
rust-49dd95b07807a26f94bf11eb4771bbb7d79ef02c.zip
Auto merge of #36564 - vanjacosic:patch-2, r=GuillaumeGomez
Docs: Update to "Ownership" section

Found #34865 while looking for easy docs wins I could contribute with.
Diffstat (limited to 'src')
-rw-r--r--src/doc/book/ownership.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/ownership.md b/src/doc/book/ownership.md
index 23ca21b3b49..a711397b211 100644
--- a/src/doc/book/ownership.md
+++ b/src/doc/book/ownership.md
@@ -57,13 +57,13 @@ of scope at the end of `foo()`, Rust will clean up everything related to the
 vector, even the heap-allocated memory. This happens deterministically, at the
 end of the scope.
 
-We'll cover [vectors] in detail later in this chapter; we only use them
+We covered [vectors] in the previous chapter; we use them
 here as an example of a type that allocates space on the heap at runtime. They
 behave like [arrays], except their size may change by `push()`ing more
 elements onto them.
 
 Vectors have a [generic type][generics] `Vec<T>`, so in this example `v` will have type
-`Vec<i32>`. We'll cover generics in detail later in this chapter.
+`Vec<i32>`. We'll cover [generics] in detail in a later chapter.
 
 [arrays]: primitive-types.html#arrays
 [vectors]: vectors.html