error-chain icon indicating copy to clipboard operation
error-chain copied to clipboard

Remove unnecessary to_string within println

Open Phytolizer opened this issue 5 years ago • 0 comments
trafficstars

I noticed a small error in the documentation. to_string is not necessary when in the context of a println! call, because both to_string and the {} format specifier use the Display trait. In other words, to_string is implied. It's not really a big deal, but I do think it is a mistake.

Phytolizer avatar Aug 12 '20 15:08 Phytolizer