aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers/qualify_path.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-12-11 12:41:53 +0000
committerAleksey Kladov <[email protected]>2020-12-11 12:45:53 +0000
commite179ed6f532e976d50c286c3349f2dddd7de6928 (patch)
tree92894ee2330fe3112f224b7f41d73147cf31c9b1 /crates/assists/src/handlers/qualify_path.rs
parent41321d96789ed918eebda02ada76758765d19d16 (diff)
Use natural trait ordering in derive completion
derive(Clone, Copy) reads better than derive(Copy, Clone). However, we preserve the reverse ordering in the lookup text for sorting purposes. That way, it's convenient to type just `Ord` to derive everything.
Diffstat (limited to 'crates/assists/src/handlers/qualify_path.rs')
0 files changed, 0 insertions, 0 deletions