Debian Codegraph @

examples/simple.rs

raw symbols SCIP
1 use formatx::formatx;
2
3 fn main() {
4 let template = "{} {0:-^10} {percentage:.2}";
5 let text = formatx!(template, "world!", "hello", percentage = 99.9999);
6 println!("{}", text.unwrap());
7 }