mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
6bdae9edd0
[resolve] Use `unwrap_or_else` instead of `unwrap_or` in a hot path This improves the performance of the `resolve_crate` function by 30% for a very large single file crate with auto-generated C bindings. cc `@rylev`