diff options
author | Lukas Wirth <[email protected]> | 2021-03-27 20:51:00 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-03-27 20:51:00 +0000 |
commit | 1ef55002c2db4ca68df31306290b019c7fbfb4fb (patch) | |
tree | 222f7661669f96792b5b987aba0b26ce07efcf4a /crates/ide_db/src/ty_filter.rs | |
parent | 77a447dcda82a9f0eb6e1f04bd4b1dd53a226c65 (diff) |
Cleanup ide_db imports
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 { |