Skip to content

Commit 34c1d05

Browse files
committed
rfc, quick_debug_macro: note on qdbg!
1 parent f4dfdd5 commit 34c1d05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text/0000-quick-debug-macro.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ Several names has been proposed for the macro. Some of the candidates were:
475475
+ `show!`, inspired by Haskell. `show` was deemed less obvious than `dbg!`.
476476
+ `peek!`, which was also deemed less obvious.
477477
+ `DEBUG!`, which was deemed too screamy.
478+
+ `qdbg!`, which was deemed to hurt searchability and learnability since it
479+
isn't prefixed with `d`(ebug).
478480

479481
While it is unfortunate that `debug!` was unavailable, `dbg!` was deemed the
480482
next best thing, which is why it was picked as the name of the macro.

0 commit comments

Comments
 (0)