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
Avoid an additional allocation when logging errors
The call to `to_string()` results in an unnecessary allocation. `Error`
only implements `ToString` through the `Display` trait. The same
formatting logic is used, but calling `to_string()` causes an additional
heap allocation.
0 commit comments