mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-23 16:16:06 -04:00
649b47e245
rustdoc-search: clean up type unification and "unboxing" This PR redesigns parameter matching, return matching, and generics matching to use a single function that compares two lists of types. It also makes the algorithms more consistent, so the "unboxing" behavior where `Vec<i32>` is considered a match for `i32` works inside generics, and not just at the top level.