Skip to content

Commit ae1a730

Browse files
committed
tutorial: Minor tweaks
1 parent 1880d78 commit ae1a730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ Rust has three competing goals that inform its view of memory:
957957
Most languages that offer strong memory safety guarantees rely upon a
958958
garbage-collected heap to manage all of the objects. This approach is
959959
straightforward both in concept and in implementation, but has
960-
significant costs. Languages that take this approach tend to
960+
significant costs. Languages that follow this path tend to
961961
aggressively pursue ways to ameliorate allocation costs (think the
962962
Java Virtual Machine). Rust supports this strategy with _managed
963963
boxes_: memory allocated on the heap whose lifetime is managed
@@ -982,7 +982,7 @@ tasks. Experience in other languages has proven that isolating each
982982
task's heap from the others is a reliable strategy and one that is
983983
easy for programmers to reason about. Heap isolation has the
984984
additional benefit that garbage collection must only be done
985-
per-heap. Rust never "stops the world" to garbage-collect memory.
985+
per-heap. Rust never "stops the world" to reclaim memory.
986986

987987
Complete isolation of heaps between tasks implies that any data
988988
transferred between tasks must be copied. While this is a fine and

0 commit comments

Comments
 (0)