aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-30 13:03:46 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-30 13:03:46 +0100
commit0fd2879b4eaadbef442d8dbc8e7028daa400d654 (patch)
tree5d95d8fe1fdac2829f5b4f9edbcf716810f59bca /crates/ra_ide_api/src
parent79298b97228f09e0c5c51799700d8350f5468ed5 (diff)
parent6686521040fdb62b0b4be515f3acd7f4501b73c9 (diff)
Merge #1464
1464: collect more macros, they are heavy r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/db.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/db.rs b/crates/ra_ide_api/src/db.rs
index cb7d30c43..94977764c 100644
--- a/crates/ra_ide_api/src/db.rs
+++ b/crates/ra_ide_api/src/db.rs
@@ -63,6 +63,7 @@ impl RootDatabase {
63 let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP); 63 let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP);
64 db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity); 64 db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity);
65 db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity); 65 db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity);
66 db.query_mut(hir::db::MacroExpandQuery).set_lru_capacity(lru_capacity);
66 db 67 db
67 } 68 }
68} 69}