mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Use Symbol in Name
This commit is contained in:
parent
843806b79f
commit
3fe815b0f3
75 changed files with 750 additions and 755 deletions
|
@ -472,7 +472,7 @@ fn find_trait_for_assoc_item(
|
|||
});
|
||||
|
||||
for name in names {
|
||||
if assoc_item_name.as_str() == name.as_text()?.as_str() {
|
||||
if assoc_item_name.as_str() == name.as_str() {
|
||||
// It is fine to return the first match because in case of
|
||||
// multiple possibilities, the exact trait must be disambiguated
|
||||
// in the definition of trait being implemented, so this search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue