Closed ValdezFOmar closed 1 month ago
I think that this only makes sense for dbg!
, format!
and format_args!
, where you always want to pass in an argument, for the rest you might be fine without it: println!("hello world")
.
The rest I don't even think that they should exist as snippets as they don't really add any value over the r-a suggestion.
format_args!
is never used outside of macros so I'd vote to kill it as well.
Thoughts?
I think that this only makes sense for
dbg!
,format!
andformat_args!
, where you always want to pass in an argument, for the rest you might be fine without it:println!("hello world")
.Thoughts?
Hmmm, I'm thinking that it might not even be worth it to include this format macros since you probably would like to include more than just the argument (like format specifiers).
Follow up https://github.com/rafamadriz/friendly-snippets/pull/486
This was the change suggested by @dev-ardi