Oh, forgot to link the RFC text. Here is! https://github.com/SimonSapin/rfcs/blob/dbg-macro/text/0000-dbg-macro.md …
-
-
Show this thread
-
Ohh, just found out my fave thing about it: it will auto-include file name + line number! This is like a legit improvement for all of us that make heavy use of print-driven-debugging. Woot! dbg!("hello world"); > [http://lib.rs:13 ] "hello world"
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.