diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-27 21:13:08 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-27 21:13:08 +0000 |
commit | 84f1660a37fa28c4ca4e7e75db5715b12904061a (patch) | |
tree | 333db3209f9acb92601c4ab63a10c63322807a40 /crates/ide_db/src/ty_filter.rs | |
parent | 97dbbad482e3382da027f2f151354445d8af029a (diff) | |
parent | 1ef55002c2db4ca68df31306290b019c7fbfb4fb (diff) |
Merge #8220
8220: Reorder some ide_db imports r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide_db/src/ty_filter.rs')
-rw-r--r-- | crates/ide_db/src/ty_filter.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ide_db/src/ty_filter.rs b/crates/ide_db/src/ty_filter.rs index f8406851b..988ecd060 100644 --- a/crates/ide_db/src/ty_filter.rs +++ b/crates/ide_db/src/ty_filter.rs | |||
@@ -2,11 +2,13 @@ | |||
2 | //! Use case for structures in this module is, for example, situation when you need to process | 2 | //! Use case for structures in this module is, for example, situation when you need to process |
3 | //! only certain `Enum`s. | 3 | //! only certain `Enum`s. |
4 | 4 | ||
5 | use crate::RootDatabase; | ||
6 | use hir::{Adt, Semantics, Type}; | ||
7 | use std::iter; | 5 | use std::iter; |
6 | |||
7 | use hir::{Adt, Semantics, Type}; | ||
8 | use syntax::ast::{self, make}; | 8 | use syntax::ast::{self, make}; |
9 | 9 | ||
10 | use crate::RootDatabase; | ||
11 | |||
10 | /// Enum types that implement `std::ops::Try` trait. | 12 | /// Enum types that implement `std::ops::Try` trait. |
11 | #[derive(Clone, Copy)] | 13 | #[derive(Clone, Copy)] |
12 | pub enum TryEnum { | 14 | pub enum TryEnum { |