Use standard template introducing an attribute.

This commit is contained in:
Eric Huss 2024-02-14 10:16:23 -08:00
parent 0bf5d4e44c
commit bb166095d1
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,7 @@ When the crate's debug executable is passed into GDB[^rust-gdb], `print bob` wil
## The `collapse_debuginfo` attribute
This attribute controls whether code locations from this macro definition are collapsed into a
The *`collapse_debuginfo` [attribute]* controls whether code locations from a macro definition are collapsed into a
single location associated with the macro's call site, when generating debuginfo for code calling
this macro.
@ -161,4 +161,5 @@ built-in macros. For built-in macros the default is `yes`.
Both the default collapsing behavior and `#[collapse_debuginfo]` attributes can be overridden from
command line using the `-C collapse-macro-debuginfo` option.
[attribute]: ../attributes.md
[_MetaListIdents_]: ../attributes.md#meta-item-attribute-syntax