diff options
author | Jonas Schievink <[email protected]> | 2020-06-10 15:04:55 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-06-10 15:04:55 +0100 |
commit | 7e83ed99a887f959bd4cf97357faf373a09f9269 (patch) | |
tree | 31e55b5e2c28b71b5ebc9549da45e84e1c0ec701 /crates/ra_hir | |
parent | ed2817e599a9c0e812af26587badad6da7a4d949 (diff) |
Respect casing when searching for imports
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index a55fe03a6..1a9f6cc76 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -107,7 +107,7 @@ impl Crate { | |||
107 | import_map::search_dependencies( | 107 | import_map::search_dependencies( |
108 | db, | 108 | db, |
109 | self.into(), | 109 | self.into(), |
110 | import_map::Query::new(query).anchor_end().limit(40), | 110 | import_map::Query::new(query).anchor_end().case_sensitive().limit(40), |
111 | ) | 111 | ) |
112 | .into_iter() | 112 | .into_iter() |
113 | .map(|item| match item { | 113 | .map(|item| match item { |