Skip to content

Commit a8e5da8

Browse files
committed
ra_hir_ty: fix formatting
1 parent 5e827bd commit a8e5da8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

crates/ra_hir_ty/src/method_resolution.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ impl Ty {
9595
// Types like slice can have inherent impls in several crates, (core and alloc).
9696
// The corresponding impls are marked with lang items, so we can use them to find the required crates.
9797
macro_rules! lang_item_crate {
98-
($($name:expr),+ $(,)?) => {{
99-
let mut v = ArrayVec::<[LangItemTarget; 2]>::new();
100-
$(
101-
v.extend(db.lang_item(cur_crate, $name.into()));
102-
)+
103-
v
104-
}};
105-
}
98+
($($name:expr),+ $(,)?) => {{
99+
let mut v = ArrayVec::<[LangItemTarget; 2]>::new();
100+
$(
101+
v.extend(db.lang_item(cur_crate, $name.into()));
102+
)+
103+
v
104+
}};
105+
}
106106

107107
let lang_item_targets = match self {
108108
Ty::Apply(a_ty) => match a_ty.ctor {

0 commit comments

Comments
 (0)