diff options
author | Florian Diebold <[email protected]> | 2019-07-08 20:43:52 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-07-08 20:47:37 +0100 |
commit | 9afbf2dff43dee3227358f10162d4c77d192ce7a (patch) | |
tree | 82d38315b9be21dec920f59389ea89cdb3ae0a41 /crates/ra_ide_api | |
parent | 15862fc04183c7f9b3f3af666336a594a6a52cd9 (diff) |
Unify `normalize` and `implements` to simplify code
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r-- | crates/ra_ide_api/src/change.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs index 2a1af0a0a..efc9a92de 100644 --- a/crates/ra_ide_api/src/change.rs +++ b/crates/ra_ide_api/src/change.rs | |||
@@ -295,8 +295,7 @@ impl RootDatabase { | |||
295 | hir::db::TraitDatumQuery | 295 | hir::db::TraitDatumQuery |
296 | hir::db::StructDatumQuery | 296 | hir::db::StructDatumQuery |
297 | hir::db::ImplDatumQuery | 297 | hir::db::ImplDatumQuery |
298 | hir::db::ImplementsQuery | 298 | hir::db::SolveQuery |
299 | hir::db::NormalizeQuery | ||
300 | ]; | 299 | ]; |
301 | acc.sort_by_key(|it| std::cmp::Reverse(it.1)); | 300 | acc.sort_by_key(|it| std::cmp::Reverse(it.1)); |
302 | acc | 301 | acc |