Skip to content

Commit 69f3c33

Browse files
Merge pull request rust-lang#19619 from ChayimFriedman2/sort-notable
fix: Sort notable traits in hover
2 parents 6f994da + 14c2933 commit 69f3c33

File tree

1 file changed

+1
-0
lines changed
  • src/tools/rust-analyzer/crates/ide/src

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/ide/src/hover.rs

Lines changed: 1 addition & 0 deletions
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)