Re:Format Strings in Rust 1.58
by thinkharderdev on Friday January 14, 2022 @08:49AM
(#29934371)
Right, but there are many, many use cases for creating string in which you don't need some specific sanitization. Most of the time when I am using a format string I am not worried about sanitization.
But then format strings don't help you much as you can't use them to create the sanitised types. You can't sanitise the string after it's been constructed.