Skip to content

Commit bb16609

Browse files
committed
Use standard template introducing an attribute.
1 parent 0bf5d4e commit bb16609

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/attributes/debugger.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ When the crate's debug executable is passed into GDB[^rust-gdb], `print bob` wil
142142

143143
## The `collapse_debuginfo` attribute
144144

145-
This attribute controls whether code locations from this macro definition are collapsed into a
145+
The *`collapse_debuginfo` [attribute]* controls whether code locations from a macro definition are collapsed into a
146146
single location associated with the macro's call site, when generating debuginfo for code calling
147147
this macro.
148148

@@ -161,4 +161,5 @@ built-in macros. For built-in macros the default is `yes`.
161161
Both the default collapsing behavior and `#[collapse_debuginfo]` attributes can be overridden from
162162
command line using the `-C collapse-macro-debuginfo` option.
163163

164+
[attribute]: ../attributes.md
164165
[_MetaListIdents_]: ../attributes.md#meta-item-attribute-syntax

0 commit comments

Comments
 (0)