diff options
author | Jeremy A. Kolb <[email protected]> | 2018-10-31 18:05:14 +0000 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2018-10-31 18:05:14 +0000 |
commit | 542fbcbaed489d4f68ede5e3a9ab036c0f585156 (patch) | |
tree | 891aa9a88e07cefc7694cf76eb35b346af01340f | |
parent | 3068af79ffd23656ff2d46ac92d9192ce6c813fb (diff) |
Fix typo
-rw-r--r-- | crates/ra_analysis/src/db.rs | 2 | ||||
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 | ||||
-rw-r--r-- | crates/ra_analysis/src/input.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/db.rs b/crates/ra_analysis/src/db.rs index e7a5d5e2f..20af55ef2 100644 --- a/crates/ra_analysis/src/db.rs +++ b/crates/ra_analysis/src/db.rs | |||
@@ -54,7 +54,7 @@ salsa::database_storage! { | |||
54 | fn file_text() for crate::input::FileTextQuery; | 54 | fn file_text() for crate::input::FileTextQuery; |
55 | fn file_source_root() for crate::input::FileSourceRootQuery; | 55 | fn file_source_root() for crate::input::FileSourceRootQuery; |
56 | fn source_root() for crate::input::SourceRootQuery; | 56 | fn source_root() for crate::input::SourceRootQuery; |
57 | fn libraries() for crate::input::LibrarieseQuery; | 57 | fn libraries() for crate::input::LibrariesQuery; |
58 | fn library_symbols() for crate::input::LibrarySymbolsQuery; | 58 | fn library_symbols() for crate::input::LibrarySymbolsQuery; |
59 | fn crate_graph() for crate::input::CrateGraphQuery; | 59 | fn crate_graph() for crate::input::CrateGraphQuery; |
60 | } | 60 | } |
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index efb3182a6..69a3e8dfb 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs | |||
@@ -163,7 +163,7 @@ impl AnalysisHostImpl { | |||
163 | .set(source_root_id, Arc::new(library.symbol_index)); | 163 | .set(source_root_id, Arc::new(library.symbol_index)); |
164 | } | 164 | } |
165 | self.db | 165 | self.db |
166 | .query(crate::input::LibrarieseQuery) | 166 | .query(crate::input::LibrariesQuery) |
167 | .set((), Arc::new(libraries)); | 167 | .set((), Arc::new(libraries)); |
168 | } | 168 | } |
169 | if let Some(crate_graph) = change.crate_graph { | 169 | if let Some(crate_graph) = change.crate_graph { |
diff --git a/crates/ra_analysis/src/input.rs b/crates/ra_analysis/src/input.rs index 98781751a..fd63182c7 100644 --- a/crates/ra_analysis/src/input.rs +++ b/crates/ra_analysis/src/input.rs | |||
@@ -53,7 +53,7 @@ salsa::query_group! { | |||
53 | storage input; | 53 | storage input; |
54 | } | 54 | } |
55 | fn libraries() -> Arc<Vec<SourceRootId>> { | 55 | fn libraries() -> Arc<Vec<SourceRootId>> { |
56 | type LibrarieseQuery; | 56 | type LibrariesQuery; |
57 | storage input; | 57 | storage input; |
58 | } | 58 | } |
59 | fn library_symbols(id: SourceRootId) -> Arc<SymbolIndex> { | 59 | fn library_symbols(id: SourceRootId) -> Arc<SymbolIndex> { |