Skip to content

Commit 4784616

Browse files
steveklabnikalexcrichton
authored andcommitted
---
yaml --- r: 118969 b: refs/heads/master c: 85effb9 h: refs/heads/master i: 118967: 5187e8d v: v3
1 parent 94b6670 commit 4784616

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b18c4cfef0250eb7cc9b7e8273325878be72c242
2+
refs/heads/master: 85effb9f3e1f7f6e6e08788494f3ffedcabc7369
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 71fe44def9676d519f5ce5d7304e581a42cf2c70
55
refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f

trunk/src/doc/tutorial.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,9 +1488,10 @@ For a more in-depth explanation of references and lifetimes, read the
14881488

14891489
## Freezing
14901490

1491-
Lending an &-pointer to an object freezes it and prevents mutation—even if the object was declared as `mut`.
1492-
`Freeze` objects have freezing enforced statically at compile-time. An example
1493-
of a non-`Freeze` type is [`RefCell<T>`][refcell].
1491+
Lending an &-pointer to an object freezes the pointed-to object and prevents
1492+
mutation—even if the object was declared as `mut`. `Freeze` objects have
1493+
freezing enforced statically at compile-time. An example of a non-`Freeze` type
1494+
is [`RefCell<T>`][refcell].
14941495

14951496
~~~~
14961497
let mut x = 5;

0 commit comments

Comments
 (0)