Silly stuff

This commit is contained in:
Dan Buch 2021-09-13 09:14:00 -04:00
parent 7e6a2ea52b
commit 9f431fcb11
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

View File

@ -1,3 +1,9 @@
fn main() {
println!("Hello, world!");
println!("0x{:x}", 0b1111_1010_1111_1010_1111_1010_1111);
println!("0b{:b}", 0xfafafaf);
println!("{}", 0xfafafaf);
println!("{}", 0xfeefee);
println!("0b{:b}", 0xfeefee);
}