mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-10 06:09:21 +00:00

[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`