You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/memory-model.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ r[memory.bytes]
8
8
## Bytes
9
9
10
10
r[memory.bytes.intro]
11
-
The most basic unit of memory in Rust is a byte. All values are computed from zero or more bytes read from an allocation.
11
+
The most basic unit of memory in Rust is a byte.
12
12
13
13
> [!NOTE]
14
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.
0 commit comments