Can you solve this rust code snippet and find output without "running"? - You are the compiler

(No cheating πŸ˜‰)
#rustlang #rust #programming
#rusttips #rustchallenge #rustlanguage

@SecureSnowball ok , just study harder. You can do πŸ‘
@AstraKernel Yup, I know the bitwise operator, have to check what that print statement is doing.
@SecureSnowball one symbol is there just to trick mind , others are valid πŸ˜‰
@AstraKernel you had me compile my first rust program to see what the answer was :)
@AstraKernel assuming it compiles (I've not tried that number specifier before) I am guessing the output is "10"? #rustlang #rustchallenge #YouAreTheCompiler
@gibwar incorrect my friend. Check how bitwise operator works and formatting parameters 😊
@AstraKernel ahah! That was fun! I totally did mess up the bitshift even though I thought of it, but after reading the format docs I'm going to guess the output is "0008"? I was stuck on the idea that "04" was to do base 4. Love it!
@AstraKernel I was pretty confident about the bitwise operation just the format string got me in the end.
@mikoedit one more similar challenge i will post shortly ☺️