Skip to content

Commit 8f18758

Browse files
committed
---
yaml --- r: 33181 b: refs/heads/snap-stage3 c: 6da09c3 h: refs/heads/master i: 33179: 2e47259 v: v3
1 parent d0d20bc commit 8f18758

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f016fd43f868cffa8759f18c4772a1423e48ccd1
4+
refs/heads/snap-stage3: 6da09c3b437dad240218b91ea06c301982764152
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/tutorial.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ copied, not just a pointer.
10541054
For small structs like `Point`, this is usually more efficient than
10551055
allocating memory and going through a pointer. But for big structs, or
10561056
those with mutable fields, it can be useful to have a single copy on
1057-
the heap, and refer to that through a pointer.
1057+
the stack or on the heap, and refer to that through a pointer.
10581058

10591059
Rust supports several types of pointers. The safe pointer types are
10601060
`@T` for managed boxes allocated on the local heap, `~T`, for
@@ -1087,8 +1087,7 @@ let y = x; // Copy of a pointer to the same box
10871087
~~~~
10881088

10891089
Any type that contains managed boxes or other managed types is
1090-
considered _managed_. Managed types are the only types that can
1091-
construct cyclic data structures in Rust, such as doubly-linked lists.
1090+
considered _managed_.
10921091

10931092
~~~
10941093
// A linked list node

0 commit comments

Comments
 (0)