If `io::with_str_writer` was pure, it could then be used safely with `to_str::ToStr`.
If
io::with_str_writerwas pure, it could then be used safely withto_str::ToStr.