Skip to content

Commit 27b569a

Browse files
committedApr 21, 2025
Sort some lists of things better
1 parent 09c8e4a commit 27b569a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/attributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ The following attributes are unsafe:
4444

4545
* [`export_name`]
4646
* [`link_section`]
47-
* [`no_mangle`]
4847
* [`naked`]
48+
* [`no_mangle`]
4949

5050
r[attributes.kind]
5151
Attributes can be classified into the following kinds:

‎src/attributes/codegen.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,12 +530,12 @@ trait object whose methods are attributed.
530530
531531
[`-C target-cpu`]: ../../rustc/codegen-options/index.html#target-cpu
532532
[`-C target-feature`]: ../../rustc/codegen-options/index.html#target-feature
533+
[`inline`]: #the-inline-attribute
533534
[`is_x86_feature_detected`]: ../../std/arch/macro.is_x86_feature_detected.html
534535
[`is_aarch64_feature_detected`]: ../../std/arch/macro.is_aarch64_feature_detected.html
535536
[`naked_asm!`]: ../inline-assembly.md
536-
[`inline`]: #the-inline-attribute
537-
[`track_caller`]: #the-track-caller-attribute
538537
[`target_feature` conditional compilation option]: ../conditional-compilation.md#target_feature
538+
[`track_caller`]: #the-track-caller-attribute
539539
[`unused_variables`]: ../../rustc/lints/listing/warn-by-default.html#unused-variables
540540
[attribute]: ../attributes.md
541541
[attributes]: ../attributes.md

0 commit comments

Comments
 (0)