Skip to content

Commit c415289

Browse files
committed
Add suggestion from RalfJung
1 parent 9fe0618 commit c415289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memory-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ r[memory.bytes.intro]
1111
The most basic unit of memory in Rust is a byte. All values are computed from zero or more bytes read from an allocation.
1212

1313
> [!NOTE]
14-
> While bytes are typically lowered to hardware bytes, Rust uses an "abstract" notion of bytes that can make distinctions which are absent in hardware, such as being uninitialized, or storing part of a pointer.
14+
> While bytes are typically lowered to hardware bytes, Rust uses an "abstract" notion of bytes that can make distinctions which are absent in hardware, such as being uninitialized, or storing part of a pointer. Those distinctions can affect whether your program has undefined behavior, so they still have tangible impact on how compiled Rust programs behave.
1515
1616
r[memory.bytes.contents]
1717
Each byte may have one of the following values:

0 commit comments

Comments
 (0)