Re:Format Strings in Rust 1.58
by drran on Friday January 14, 2022 @02:20PM
(#29939036)
IMHO, your point is valid: currently, it's not possible to enforce a constraint on `format!()` arguments, AFAIK, so we cannot say that all arguments to that format string, which will be used in that API, must implement SafeHTML trait or SafeSQL trait. You should create a ticket or RFC for the problem.
[ Parent
| on HN ]
There are no comments on this comment yet.