mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Merge pull request #19619 from ChayimFriedman2/sort-notable
fix: Sort notable traits in hover
This commit is contained in:
commit
02ade79631
1 changed files with 1 additions and 0 deletions
|
|
@ -505,6 +505,7 @@ fn notable_traits(
|
|||
)
|
||||
})
|
||||
})
|
||||
.sorted_by_cached_key(|(trait_, _)| trait_.name(db))
|
||||
.collect::<Vec<_>>()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue