@@ -66,18 +66,17 @@ item's name.
6666Additionally, the item will be publicly exported from the produced library or
6767object file, similar to the [ ` used ` attribute] ( #the-used-attribute ) .
6868
69- This attribute is unsafe as an unmangled symbol may collide with another
70- symbol with the same name (or a well-known symbol), leading to undefined behavior.
69+ This attribute is unsafe as an unmangled symbol may collide with another symbol
70+ with the same name (or with a well-known symbol), leading to undefined behavior.
7171
7272## The ` link_section ` attribute
7373
7474The * ` link_section ` attribute* specifies the section of the object file that a
7575[ function] or [ static] 's content will be placed into. It uses the
7676[ _ MetaNameValueStr_ ] syntax to specify the section name.
7777
78- This attribute is unsafe as using ` link_section ` allows users to place data
79- and code into sections of memory not expecting them, such as mutable data
80- into read-only areas.
78+ This attribute is unsafe as it allows users to place data and code into sections
79+ of memory not expecting them, such as mutable data into read-only areas.
8180
8281<!-- no_run: don't link. The format of the section name is platform-specific. -->
8382``` rust,no_run
@@ -93,7 +92,8 @@ exported on a [function] or [static]. It uses the [_MetaNameValueStr_] syntax
9392to specify the symbol name.
9493
9594This attribute is unsafe as a symbol with a custom name may collide with another
96- symbol with the same name (or a well-known symbol), leading to undefined behavior.
95+ symbol with the same name (or with a well-known symbol), leading to undefined
96+ behavior.
9797
9898``` rust
9999#[export_name = " exported_symbol_name" ]
0 commit comments