If you want to see assembly output to check how #Rust optimizes a function, you can use https://rust.godbolt.org/