Skip to content

Commit e872d1b

Browse files
authored
Fix misleading rationale (rustfoundation#126)
1 parent 333dd54 commit e872d1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coding-guidelines/macros.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ Macros
108108
:id: rat_M9bp23ctkzQ7
109109
:status: draft
110110

111-
Macros are powerful but they come at the cost of readability, complexity, and maintainability. They obfuscate control flow and type signatures.
111+
Although the compiler reports both the macro expansion and its invocation site, diagnostics originating within macros can be more difficult to interpret than those from ordinary function or type definitions. Complex or deeply nested macros may obscure intent and hinder static analysis, increasing the risk of misinterpretation or overlooked errors during code review.
112+
112113

113114
**Debugging Complexity**
114115

0 commit comments

Comments
 (0)