From 1c582be63b35c6602638023d4bd0bc426b0ca744 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Sun, 7 Jul 2019 16:06:54 +0300 Subject: Moved module resolution test in mods.rs --- crates/ra_hir/src/ty/method_resolution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src/ty') diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index 10a6e0b10..76ace66ea 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs @@ -116,7 +116,7 @@ impl CrateImplBlocks { fn def_crates(db: &impl HirDatabase, cur_crate: Crate, ty: &Ty) -> Option> { // Types like slice can have inherent impls in several crates, (core and alloc). - // The correspoinding impls are marked with lang items, so we can use them to find the required crates. + // The corresponding impls are marked with lang items, so we can use them to find the required crates. macro_rules! lang_item_crate { ($db:expr, $cur_crate:expr, $($name:expr),+ $(,)?) => {{ let mut v = ArrayVec::<[Crate; 2]>::new(); -- cgit v1.2.3