rust/crates
Aleksey Kladov 3ced546033 Make code more understandable
Avoid mutation of snapshot's config -- that's spooky action at a
distance. Instead, copy it over to a local variable.

This points out a minor architecture problem, which we won't fix right
away.

Various `ide`-level config structs, like `AssistConfig`, are geared
towards one-shot use when calling a specific methods. On the other
hand, the large `Config` struct in `rust-analyzer` is a long-term
config store.

The fact that `Config` stores `AssistConfig` is accidental -- a better
design would probably be to just store `ConfigData` inside `Config`
and create various `Config`s on the fly out of it.
2020-12-23 13:16:24 +03:00
..
arena
assists Don't think that /submod.rs is /mod.rs 2020-12-23 11:02:42 +03:00
base_db Introduce anchored_path 2020-12-09 19:07:05 +03:00
cfg Remove some redundant allocations 2020-12-12 12:27:09 -05:00
completion Reduce some more code duplication 2020-12-22 19:00:38 +01:00
flycheck
hir Merge #6964 2020-12-22 18:03:51 +00:00
hir_def Don't think that /submod.rs is /mod.rs 2020-12-23 11:02:42 +03:00
hir_expand Store invocation site for eager macros 2020-12-22 15:02:03 +01:00
hir_ty Higher-ranked trait bounds for where clauses 2020-12-17 22:01:42 +01:00
ide Store invocation site for eager macros 2020-12-22 15:02:03 +01:00
ide_db Add initial_contents field for CreateFile 2020-12-21 15:55:40 +09:00
mbe Use pattern_single instead of pattern in mbe pat 2020-12-20 17:13:40 +08:00
parser Merge #6965 2020-12-21 08:54:31 +00:00
paths
proc_macro_api
proc_macro_srv Disable unaligned feature for the object crate 2020-12-23 10:40:12 +02:00
proc_macro_test
profile
project_model Fun times with rustfmt 2020-12-17 10:24:58 -08:00
rust-analyzer Make code more understandable 2020-12-23 13:16:24 +03:00
ssr
stdx
syntax Merge #6965 2020-12-21 08:54:31 +00:00
test_utils
text_edit
toolchain
tt
vfs Merge #6785 2020-12-09 16:32:03 +00:00
vfs-notify