Skip to content

Commit a1e3923

Browse files
authored
Drop sentence about being from an allocation
We didn't feel like this was well-defined enough to go into right now, and didn't seem necessary to include right now.
1 parent c415289 commit a1e3923

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
@@ -8,7 +8,7 @@ r[memory.bytes]
88
## Bytes
99

1010
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.
1212

1313
> [!NOTE]
1414
> 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

Comments
 (0)