Skip to content

Commit

Permalink
attempt to clarify 'static' unique address guarantees
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 20, 2024
1 parent 46d65f8 commit be06160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/static-items.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
> [^extern-safety]: The `safe` and `unsafe` function qualifiers are only
> allowed semantically within `extern` blocks.
A *static item* is similar to a [constant], except that it represents a precise
A *static item* is similar to a [constant], except that it represents a unique
memory location in the program. All references to the static refer to the same
memory location. Static items have the `static` lifetime, which outlives all
other lifetimes in a Rust program. Static items do not call [`drop`] at the
Expand Down

0 comments on commit be06160

Please sign in to comment.