Skip to content

Commit 5b27fac

Browse files
committed
Add proc macro attrs to attrs on fns list
1 parent 0a57ca9 commit 5b27fac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/items/functions.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ fn test_only() {
134134
135135
The attributes that have meaning on a function are [`cfg`], [`deprecated`],
136136
[`doc`], `export_name`, `link_section`, `no_mangle`, [the lint check
137-
attributes], [`must_use`], [the testing attributes], and [the optimization hint
137+
attributes], [`must_use`], [the procedural macro attributes], [the testing
138+
attributes], and [the optimization hint
138139
attributes].
139140

140141
[external blocks]: items/external-blocks.html
@@ -147,6 +148,7 @@ attributes].
147148
[attributes]: attributes.html
148149
[`cfg`]: conditional-compilation.html
149150
[the lint check attributes]: attributes.html#lint-check-attributes
151+
[the procedural macro attributes]: procedural-macros.html
150152
[the testing attributes]: attributes.html#testing
151153
[the optimization hint attributes]: attributes.html#optimization-hints
152154
[`deprecated`]: attributes.html#deprecation

0 commit comments

Comments
 (0)