diff options
author | Aleksey Kladov <[email protected]> | 2020-12-11 12:41:53 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-11 12:45:53 +0000 |
commit | e179ed6f532e976d50c286c3349f2dddd7de6928 (patch) | |
tree | 92894ee2330fe3112f224b7f41d73147cf31c9b1 /crates/completion/src/item.rs | |
parent | 41321d96789ed918eebda02ada76758765d19d16 (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/completion/src/item.rs')
0 files changed, 0 insertions, 0 deletions