aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_db/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-10 17:47:09 +0000
committerAleksey Kladov <[email protected]>2020-03-10 17:47:09 +0000
commitbf582e77d6e5603149b355a5650cd4d15318f776 (patch)
treefd655f5e42cd720e11c067c43449f7bcf6311ccd /crates/ra_ide_db/src
parent2347c03dcd717fbc0648c1e4e3d64a886217de5d (diff)
Pull completion options up to the rust-analyzer
Diffstat (limited to 'crates/ra_ide_db/src')
-rw-r--r--crates/ra_ide_db/src/feature_flags.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_ide_db/src/feature_flags.rs b/crates/ra_ide_db/src/feature_flags.rs
index 968415072..dbb3f50a0 100644
--- a/crates/ra_ide_db/src/feature_flags.rs
+++ b/crates/ra_ide_db/src/feature_flags.rs
@@ -2,6 +2,10 @@
2 2
3use rustc_hash::FxHashMap; 3use rustc_hash::FxHashMap;
4 4
5// FIXME: looks like a much better design is to pass options to each call,
6// rather than to have a global ambient feature flags -- that way, the clients
7// can issue two successive calls with different options.
8
5/// Feature flags hold fine-grained toggles for all *user-visible* features of 9/// Feature flags hold fine-grained toggles for all *user-visible* features of
6/// rust-analyzer. 10/// rust-analyzer.
7/// 11///