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
assert! and panic! have built-in support for formatting, but they also accept arguments of type String, so one could use format! instead.
Using format! here is entirely unnecessary, and yet happens in the wild, so this seems like a useful target for a Clippy lint. Also the long-term plan is to not support String arguments any more, so such code might not work in future editions.