rust/crates
Emil Lauridsen 05aa5b854b Remove RWLock from check watcher.
@matklad mentioned this might be a good idea.

So the general idea is that we don't really need the lock, as we can
just clone the check watcher state when creating a snapshot. We can then
use `Arc::get_mut` to get mutable access to the state from `WorldState`
when needed.

Running with this it seems to improve responsiveness a bit while cargo
is running, but I have no hard numbers to prove it. In any case, a
serialization point less is always better when we're trying to be
responsive.
2020-01-23 09:26:08 +01:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists added eq_token() method to LetStmt 2020-01-19 18:55:56 +01:00
ra_batch Support setting cargo features 2019-12-13 18:16:34 +08:00
ra_cargo_watch Remove RWLock from check watcher. 2020-01-23 09:26:08 +01:00
ra_cfg Disable doctests 2019-11-17 18:35:05 +03:00
ra_cli Some clippy lints 2020-01-13 11:27:06 -05:00
ra_db Remove the Default impl for SourceRoot 2020-01-08 19:42:27 +01:00
ra_fmt fix 2190; add test for "replace if let with match" 2019-11-20 19:01:06 +01:00
ra_hir Fix comment 2020-01-16 17:57:50 +01:00
ra_hir_def Remove dead code 2020-01-16 17:56:14 +01:00
ra_hir_expand Use dummy value for line! and column! macro 2020-01-15 01:47:01 +08:00
ra_hir_ty Omit default parameters for reference types 2020-01-22 16:55:09 +02:00
ra_ide Omit default parameters for reference types 2020-01-22 16:55:09 +02:00
ra_lsp_server Remove RWLock from check watcher. 2020-01-23 09:26:08 +01:00
ra_mbe Add details about test_repeat_bad_var current state 2019-12-30 17:12:20 +01:00
ra_parser ra_syntax: remove code duplication and token reevaluation from ast::Literal::kind() 2020-01-22 13:02:21 +02:00
ra_prof Fix a corner case when printing unaccounted time 2020-01-19 18:34:40 +01:00
ra_project_model Address nit 2020-01-10 22:41:52 +01:00
ra_syntax Fixed a typo 2020-01-22 13:02:21 +02:00
ra_text_edit Disable doctests 2019-11-17 18:35:05 +03:00
ra_tt Refactoring 2019-12-18 13:10:37 +08:00
ra_vfs_glob Disable doctests 2019-11-17 18:35:05 +03:00
test_utils Refactor goto tests to always specify texts 2019-12-18 16:00:35 +01:00