From 0fb4544403f67fd4f9046532cff70f776d5ba562 Mon Sep 17 00:00:00 2001 From: kazatsuyu Date: Fri, 22 Jan 2021 22:52:04 +0900 Subject: cargo fmt --- crates/hir_def/src/nameres/path_resolution.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/hir_def/src/nameres/path_resolution.rs b/crates/hir_def/src/nameres/path_resolution.rs index a6e0f64fc..bb8ccaa9d 100644 --- a/crates/hir_def/src/nameres/path_resolution.rs +++ b/crates/hir_def/src/nameres/path_resolution.rs @@ -13,8 +13,8 @@ use std::iter::successors; use base_db::Edition; -use hir_expand::name::Name; use hir_expand::name; +use hir_expand::name::Name; use test_utils::mark; use crate::{ @@ -65,7 +65,8 @@ impl ResolvePathResult { impl DefMap { pub(super) fn resolve_name_in_extern_prelude(&self, name: &Name) -> PerNs { if name == &name!(self) { - return PerNs::types(ModuleId { krate: self.krate, local_id: self.root }.into(), + return PerNs::types( + ModuleId { krate: self.krate, local_id: self.root }.into(), Visibility::Public, ); } -- cgit v1.2.3