Merge pull request #19619 from ChayimFriedman2/sort-notable

fix: Sort notable traits in hover
This commit is contained in:
Chayim Refael Friedman 2025-04-18 09:56:45 +00:00 committed by GitHub
commit 02ade79631
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -505,6 +505,7 @@ fn notable_traits(
)
})
})
.sorted_by_cached_key(|(trait_, _)| trait_.name(db))
.collect::<Vec<_>>()
}