The compiler analyzed it, optimized it, and emitted precisely the machine instructions you expected. Same input, same output.
Overview Rust projects can have notoriously long compile times. One way to speed up compilation is to split a project into multiple crates in a single "workspace", where each crate can be recompiled ...