You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was very confused in the first place, that afmt::fmt actually is meant for parsing. When I first saw fmt I thought it would implement std::fmt::Display and I thought, hey! That's neat!
But only after looking at the sources (and reading the doc 🙃) I saw it's actually meant for parsing a string into a struct.
Maybe consider renaming the struct?
Next step would be to have a fmt macro that implements std::fmt::Display? Because that would be sick as well!
The text was updated successfully, but these errors were encountered:
I was very confused in the first place, that
afmt::fmt
actually is meant for parsing. When I first sawfmt
I thought it would implementstd::fmt::Display
and I thought, hey! That's neat!But only after looking at the sources (and reading the doc 🙃) I saw it's actually meant for parsing a string into a struct.
Maybe consider renaming the struct?
Next step would be to have a
fmt
macro that implementsstd::fmt::Display
? Because that would be sick as well!The text was updated successfully, but these errors were encountered: