From 95923c7b2997f479d36a2712ead123123fd962d8 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 19 Aug 2021 17:33:58 +0200 Subject: [PATCH] Fix imports --- crates/hir_ty/src/infer/pat.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/hir_ty/src/infer/pat.rs b/crates/hir_ty/src/infer/pat.rs index df438d2ac4c3..5cd760393f48 100644 --- a/crates/hir_ty/src/infer/pat.rs +++ b/crates/hir_ty/src/infer/pat.rs @@ -1,7 +1,6 @@ //! Type inference for patterns. -use std::iter::repeat; -use std::sync::Arc; +use std::{iter::repeat, sync::Arc}; use chalk_ir::Mutability; use hir_def::{ @@ -10,9 +9,10 @@ use hir_def::{ }; use hir_expand::name::Name; -use super::{BindingMode, Expectation, InferenceContext, TypeMismatch}; use crate::{ - infer::{Adjust, Adjustment, AutoBorrow}, + infer::{ + Adjust, Adjustment, AutoBorrow, BindingMode, Expectation, InferenceContext, TypeMismatch, + }, lower::lower_to_chalk_mutability, static_lifetime, Interner, Substitution, Ty, TyBuilder, TyExt, TyKind, };