rust/tests/run-pass/format.rs

5 lines
94 B
Rust

fn main() {
println!("Hello {}", 13);
println!("{:0<width$}", "hello", width = 10);
}