diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-26 06:35:20 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-26 06:35:20 +0000 |
commit | 2f223d8c157c940b4e78918f65ac033f8291f7b1 (patch) | |
tree | 45f709cbd6e97f2c44e45927e1224b7a01364584 /crates/hir_def/src/item_tree | |
parent | aa91a0268bae6deda964a9fdfcbdbd2d8ca5802f (diff) | |
parent | d912444cacb0f9079680c505b3bb075fbeb208be (diff) |
Merge #7438
7438: Shorten hir::TypeParam ranges for traits in NavigationTarget r=matklad a=Veykril
I noticed that selecting `Self` here highlights the entire trait,
![Code_a8DMOEUuWY](https://user-images.githubusercontent.com/3757771/105779993-d2592c00-5f6f-11eb-81d1-bd99f9369cf7.png)
this should cut it down to just the trait name and the `Self` which imo seems better.
![image](https://user-images.githubusercontent.com/3757771/105780410-ac805700-5f70-11eb-882b-10ed63b951f2.png)
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/hir_def/src/item_tree')
0 files changed, 0 insertions, 0 deletions