Skip to content

Commit e07c39e

Browse files
committed
---
yaml --- r: 206557 b: refs/heads/beta c: 3e76f28 h: refs/heads/master i: 206555: 5260555 v: v3
1 parent 25dcf5e commit e07c39e

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
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: 84c7dfa48c23dd032e4abd917706b5649067b311
32+
refs/heads/beta: 3e76f2838a68d0669cef64477e7f39af1b6205f6
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 579e31929feff51dcaf8d444648eff8de735f91a

branches/beta/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)