I would like println! to turn my integer into a 2 digit number, adding a 0 in the front if needed.
fn main() {
println!("{:}", 7);
println!("{:}", 12);
}
the expected result should be:
07
12
Any format parameters to be used here or should I create a specific Display trait in this case?