I'm *super* excited the `dbg!()` RFC might be landing soon. I've written println!("{:?}", foo);` too many times -- can't wait to type less.
-
-
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 threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.