Skip to content

Commit

Permalink
Auto merge of #112233 - notriddle:notriddle/search-unify, r=Guillaume…
Browse files Browse the repository at this point in the history
…Gomez

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.
  • Loading branch information
bors committed Jun 15, 2023
2 parents 1042e8d + 1c269f8 commit e927775
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e927775

Please sign in to comment.