cargo fmt

This commit is contained in:
kazatsuyu 2021-01-22 22:52:04 +09:00
parent e52589e3a7
commit 0fb4544403

View File

@ -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 @@ fn with(
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,
);
}