Skip to content

Commit 02ade79

Browse files
Merge pull request #19619 from ChayimFriedman2/sort-notable
fix: Sort notable traits in hover
2 parents 32052e5 + 41227f0 commit 02ade79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ide/src/hover.rs

+1
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ fn notable_traits(
505505
)
506506
})
507507
})
508+
.sorted_by_cached_key(|(trait_, _)| trait_.name(db))
508509
.collect::<Vec<_>>()
509510
}
510511

0 commit comments

Comments
 (0)