Skip to content

Commit 310f309

Browse files
Merge pull request #2663 from jeannekamikaze/master
Replace 'which'.
2 parents 55a2648 + d4e9473 commit 310f309

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ch15-04-rc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ edges pointing to it.
99

1010
To enable multiple ownership, Rust has a type called `Rc<T>`, which is an
1111
abbreviation for *reference counting*. The `Rc<T>` type keeps track of the
12-
number of references to a value which determines whether or not a value is
13-
still in use. If there are zero references to a value, the value can be cleaned
14-
up without any references becoming invalid.
12+
number of references to a value to determine whether or not the value is still
13+
in use. If there are zero references to a value, the value can be cleaned up
14+
without any references becoming invalid.
1515

1616
Imagine `Rc<T>` as a TV in a family room. When one person enters to watch TV,
1717
they turn it on. Others can come into the room and watch the TV. When the last

0 commit comments

Comments
 (0)