Re:Implementing a Type-safe printf in Rust
by stjepang on Friday August 14, 2020 @04:38AM
(#24155406)
This is being worked on: https://github.com/rust-lang/rust/issues/67984
[ Parent
| on HN ]
Re:Implementing a Type-safe printf in Rust
by skohan on Saturday August 15, 2020 @05:31AM
(#24167441)
Neat. It's interesting that they've chosen just plain braces to denote the argument insertion; i.e: "text {value}" rather than something like "text ${value}" which seems to be what most languages use. I guess there must be a way to escape it if you just want braces in your string.