☰
Debian Codegraph
@
0.2.4-1
/
/
examples
/
simple.rs
☽
☼
examples/simple.rs
code
plain
raw
symbols
SCIP
MIT
or
Apache-2.0
2022-2025 <
[email protected]
>
debian/copyright
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
}