mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
38aaeefb94
All methods that accept `impl IntoQueryKey<_>` have been adjusted to consistently call `into_query_key` before doing anything else. When a function with a conversion trait calls another function with the same conversion trait, doing the conversion eagerly can reduce the overall number of instantiations.
For more information about how rustc works, see the rustc dev guide.