mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge pull request #19619 from ChayimFriedman2/sort-notable
fix: Sort notable traits in hover
This commit is contained in:
commit
02ade79631
@ -505,6 +505,7 @@ fn notable_traits(
|
||||
)
|
||||
})
|
||||
})
|
||||
.sorted_by_cached_key(|(trait_, _)| trait_.name(db))
|
||||
.collect::<Vec<_>>()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user