File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -497,6 +497,7 @@ Only the last use of `link_name` on an item has effect.
497
497
r[items. extern . attributes. link_name. link_ordinal]
498
498
The `link_name` attribute may not be used with the [`link_ordinal`] attribute.
499
499
500
+ <! -- template: attributes - ->
500
501
r[items. extern . attributes. link_ordinal]
501
502
### The `link_ordinal` attribute
502
503
@@ -529,10 +530,10 @@ r[items.extern.attributes.link_ordinal.max]
529
530
The ordinal must be less than or equal to [ ` u16::MAX ` ] .
530
531
531
532
r[ items.extern.attributes.link_ordinal.allowed-positions]
532
- The ` link_ordinal ` attribute may be specified on a function or static in an ` extern ` block.
533
+ The ` link_ordinal ` attribute may only be applied to a function or static in an ` extern ` block.
533
534
534
535
r[ items.extern.attributes.link_ordinal.duplicates]
535
- The ` link_ordinal ` attribute may only be specified once on an item.
536
+ The ` link_ordinal ` attribute may be used only once on an item.
536
537
537
538
r[ items.extern.attributes.link_ordinal.allowed-kinds]
538
539
The ` link_ordinal ` attribute may only be used with the [ ` raw-dylib ` linking kind] [ items.extern.attributes.link.raw-dylib ] .
You can’t perform that action at this time.
0 commit comments