Skip to content

Commit 47f46a6

Browse files
committed
---
yaml --- r: 208159 b: refs/heads/snap-stage3 c: 3e76f28 h: refs/heads/master i: 208157: bed9e55 208155: 671c826 208151: 4d3ae68 208143: 5b9368b 208127: 397d6c4 v: v3
1 parent 9dd880d commit 47f46a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 84c7dfa48c23dd032e4abd917706b5649067b311
4+
refs/heads/snap-stage3: 3e76f2838a68d0669cef64477e7f39af1b6205f6
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/doc/trpl/ownership.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ let v2 = v;
123123

124124
The first line creates some data for the vector on the [stack][sh], `v`. The
125125
vector’s data, however, is stored on the [heap][sh], and so it contains a
126-
pointer to that data. When we move `v` to `v2`, it creates a copy of that data,
126+
pointer to that data. When we move `v` to `v2`, it creates a copy of that pointer,
127127
for `v2`. Which would mean two pointers to the contents of the vector on the
128128
heap. That would be a problem: it would violate Rust’s safety guarantees by
129129
introducing a data race. Therefore, Rust forbids using `v` after we’ve done the

0 commit comments

Comments
 (0)