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.
497497r[items. extern . attributes. link_name. link_ordinal]
498498The `link_name` attribute may not be used with the [`link_ordinal`] attribute.
499499
500+ <! -- template: attributes - ->
500501r[items. extern . attributes. link_ordinal]
501502### The `link_ordinal` attribute
502503
@@ -529,10 +530,10 @@ r[items.extern.attributes.link_ordinal.max]
529530The ordinal must be less than or equal to [ ` u16::MAX ` ] .
530531
531532r[ 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.
533534
534535r[ 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.
536537
537538r[ items.extern.attributes.link_ordinal.allowed-kinds]
538539The ` 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