]> git.lizzy.rs Git - rust.git/commitdiff
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)
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>

Trivial merge