Skip to content

Commit ac27a7c

Browse files
committed
---
yaml --- r: 31125 b: refs/heads/incoming c: d9317a1 h: refs/heads/master i: 31123: c7cc58f v: v3
1 parent 32520a3 commit ac27a7c

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 6da09c3b437dad240218b91ea06c301982764152
9+
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/doc/tutorial.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -988,16 +988,17 @@ illuminate several of Rust's unique features as we encounter them.
988988

989989
Rust has three competing goals that inform its view of memory:
990990

991-
* Memory safety: memory that is managed by and is accessible to the
992-
Rust language must be guaranteed to be valid; under normal
991+
* Memory safety: Memory that is managed by and is accessible to the
992+
Rust language must be guaranteed to be valid. Under normal
993993
circumstances it must be impossible for Rust to trigger a
994-
segmentation fault or leak memory
995-
* Performance: high-performance low-level code must be able to employ
996-
a number of allocation strategies; low-performance high-level code
997-
must be able to employ a single, garbage-collection-based, heap
998-
allocation strategy
999-
* Concurrency: Rust must maintain memory safety guarantees, even for
1000-
code running in parallel
994+
segmentation fault or leak memory.
995+
* Performance: High-performance low-level code must be able to employ
996+
a number of allocation strategies. Tracing garbage collection must be
997+
optional and, if it is not desired, memory safety must not be compromised.
998+
Less performance-critical, high-level code should be able to employ a single,
999+
garbage-collection-based, heap allocation strategy.
1000+
* Concurrency: Rust code must be free of in-memory data races. (Note that other
1001+
types of races are still possible.)
10011002

10021003
## How performance considerations influence the memory model
10031004

0 commit comments

Comments
 (0)