Skip to content

Commit 08688f1

Browse files
committed
there are no heap-allocated variables
1 parent 0b7d4f7 commit 08688f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/static-items.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Static items do not call [`drop`] at the end of the program.
2222

2323
r[items.static.storage-disjointness]
2424
If the `static` has a size of at least 1 byte, this allocated object is disjoint from all other such
25-
`static` objects as well as heap-allocated and stack-allocated variables. However, the storage of
25+
`static` objects as well as heap allocations and stack-allocated variables. However, the storage of
2626
immutable `static` items can overlap with objects that do not themselves have a unique address, such
2727
as [promoteds] and [`const` items][constant].
2828

0 commit comments

Comments
 (0)