Sort notable traits in hover
Previously it was ordered by what accidentally happened to be the crate graph order, which isn't sensible, plus it caused changes when any change was done to salsa IDs.
This commit is contained in:
parent
6f994da630
commit
14c2933de2
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