From 1ef55002c2db4ca68df31306290b019c7fbfb4fb Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 27 Mar 2021 21:51:00 +0100 Subject: Cleanup ide_db imports --- crates/ide_db/src/ty_filter.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/ide_db/src/ty_filter.rs') 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 @@ //! Use case for structures in this module is, for example, situation when you need to process //! only certain `Enum`s. -use crate::RootDatabase; -use hir::{Adt, Semantics, Type}; use std::iter; + +use hir::{Adt, Semantics, Type}; use syntax::ast::{self, make}; +use crate::RootDatabase; + /// Enum types that implement `std::ops::Try` trait. #[derive(Clone, Copy)] pub enum TryEnum { -- cgit v1.2.3