Skip to content

Commit b1b091f

Browse files
committed
Fix broken links to abi chapter
1 parent 5faa1fe commit b1b091f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/items/functions.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ fn documented() {
337337
> function items.
338338
339339
The attributes that have meaning on a function are [`cfg`], [`cfg_attr`], [`deprecated`],
340-
[`doc`], [`export_name`], [`link_section`], [`no_mangle`], [the lint check
340+
[`doc`], [`export_name`][abi.symbol-name.export_name], [`link_section`][abi.link_section], [`no_mangle`][abi.symbol-name.no_mangle], [the lint check
341341
attributes], [`must_use`], [the procedural macro attributes], [the testing
342342
attributes], and [the optimization hint attributes]. Functions also accept
343343
attributes macros.
@@ -405,9 +405,6 @@ fn foo_oof(#[some_inert_attribute] arg: u8) {
405405
[`doc`]: ../../rustdoc/the-doc-attribute.html
406406
[`must_use`]: ../attributes/diagnostics.md#the-must_use-attribute
407407
[patterns]: ../patterns.md
408-
[`export_name`]: ../abi.md#the-export_name-attribute
409-
[`link_section`]: ../abi.md#the-link_section-attribute
410-
[`no_mangle`]: ../abi.md#the-no_mangle-attribute
411408
[built-in attributes]: ../attributes.html#built-in-attributes-index
412409
[trait item]: traits.md
413410
[method]: associated-items.md#methods

0 commit comments

Comments
 (0)