]> git.lizzy.rs Git - rust.git/commit
Merge #8027
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 15 Mar 2021 13:42:12 +0000 (13:42 +0000)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 13:42:12 +0000 (13:42 +0000)
commit3962b0d53c8da6e3f95f54395d266cb99562bd47
treef2330e5ffdc8206b7a08e2f74fc204f78363dabf
parentb245e8d115ef63673bd475a56be96ed654aaa4d7
parent67d59aeb7cc442ce629dbd3976f57000fa73df51
Merge #8027

8027: Completion context remove exact match method in favor of fields r=JoshMcguigan a=JoshMcguigan

This is a minor cleanup PR following #8008. It removes the `expected_name_and_type` method on completion context in favor of using the fields.

I thought this method was used in more places, or else it may have just made sense to make this change directly in #8008 :shrug:

Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>