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
(3) From previous discussion I have understood that fmt's error return should not be used by the thing that is being formatted. It's used to relay the information that an I/O error happened through the formatting chain.
I don't know how to solve it, I think this is a drawback that comes from our skirting the rules a bit for formatting.
Some logging frameworks will format things sent to the
error!
macro twice.Some possible solutions:
Clone
bound on the iterator being formatted so that we can format it multiple timesfmt
return aResult
anyway? Why not just returnErr
?The text was updated successfully, but these errors were encountered: