We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e827bd commit a8e5da8Copy full SHA for a8e5da8
crates/ra_hir_ty/src/method_resolution.rs
@@ -95,14 +95,14 @@ impl Ty {
95
// Types like slice can have inherent impls in several crates, (core and alloc).
96
// The corresponding impls are marked with lang items, so we can use them to find the required crates.
97
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
- }
+ ($($name:expr),+ $(,)?) => {{
+ let mut v = ArrayVec::<[LangItemTarget; 2]>::new();
+ $(
+ v.extend(db.lang_item(cur_crate, $name.into()));
+ )+
+ v
+ }};
+ }
106
107
let lang_item_targets = match self {
108
Ty::Apply(a_ty) => match a_ty.ctor {
0 commit comments