Skip to content

Commit b67a843

Browse files
authored
Updated "Ownership". Trying to fix #34865
- Reword - Add link
1 parent f39039e commit b67a843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/book/ownership.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ of scope at the end of `foo()`, Rust will clean up everything related to the
5757
vector, even the heap-allocated memory. This happens deterministically, at the
5858
end of the scope.
5959

60-
We'll cover [vectors] in detail later in this chapter; we only use them
60+
We covered [vectors] in the previous chapter; we use them
6161
here as an example of a type that allocates space on the heap at runtime. They
6262
behave like [arrays], except their size may change by `push()`ing more
6363
elements onto them.
6464

6565
Vectors have a [generic type][generics] `Vec<T>`, so in this example `v` will have type
66-
`Vec<i32>`. We'll cover generics in detail later in this chapter.
66+
`Vec<i32>`. We'll cover [generics] in detail in a later chapter.
6767

6868
[arrays]: primitive-types.html#arrays
6969
[vectors]: vectors.html

0 commit comments

Comments
 (0)