Flowchart for when you should consider using a macro in Rustpic.twitter.com/nki2AFXyu3
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
I'm a newcomer to Rust, so hopefully I can get some sanity checks here. The csv macro is a macro instead of a function so you can pass variable number of args? And parses_to helps you create same sort of test with different parameters?
The latter case more than the former, but yes. And also, it creates the `#[test] fn $name() { ... }` for you too. Here's another example, where most tests are just one line because of the use of macros: https://github.com/BurntSushi/ripgrep/blob/41695c66fa7d423f961e09741cc75a1b8488e081/globset/src/glob.rs#L1008 …
Thanks!
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.