I wish Rust has a `debug!()` macro which just takes arguments like `console.log()`. Typing `println!("{:?} {:?}", foo, bar)` over and over makes for a poor experience :(
I mean like: stdlib, default level import. Printing stuff out to the console is such an integral part of development. Another improvment that could be made to improve ergonomics: allow `cargo test` to accept `--nocapture`. `$ cargo test -- --nocapture` is rather unintuitive.
-
-
Guess I just defined it for myself here. Look, my first actual macro!pic.twitter.com/DVZ6VwcJtY
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.