Printing padding and alignment
This commit is contained in:
parent
ee087669af
commit
ee631e8f18
|
@ -2,8 +2,10 @@
|
|||
fn main() {
|
||||
let c: char = '\u{D1EA}';
|
||||
let bytes = b"yoyoyo";
|
||||
let me = "meeeeeeeeeeeeeeeeeeeeeeeeeee";
|
||||
println!("Hello, world! {c}");
|
||||
println!("Hello, bytes! {bytes:?}");
|
||||
println!("Hello, {me: <4.12}, meet the real {me}.");
|
||||
}
|
||||
|
||||
// if I were to write a webapp, I would like to avoid postgres
|
||||
|
|
Loading…
Reference in a new issue