diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-18 11:26:10 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-18 11:26:10 +0000 |
commit | 2768476e491d985317b08230824f96e6718f338a (patch) | |
tree | 08e5d3f64f545d402b1a9f4fe65330ca56e1d741 /crates/ra_lsp_server/src/diagnostics.rs | |
parent | a349e5d4fcda1a6b96a09491a59d1ec940a48654 (diff) | |
parent | 4d307ff8024c8d2d533bc3ab7aac1d63ca5c5977 (diff) |
Merge #3214
3214: Fully document ra_lsp_server r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/diagnostics.rs')
-rw-r--r-- | crates/ra_lsp_server/src/diagnostics.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/diagnostics.rs b/crates/ra_lsp_server/src/diagnostics.rs index ea08bce24..e7924f0a3 100644 --- a/crates/ra_lsp_server/src/diagnostics.rs +++ b/crates/ra_lsp_server/src/diagnostics.rs | |||
@@ -1,7 +1,9 @@ | |||
1 | //! Book keeping for keeping diagnostics easily in sync with the client. | 1 | //! Book keeping for keeping diagnostics easily in sync with the client. |
2 | |||
3 | use std::{collections::HashMap, sync::Arc}; | ||
4 | |||
2 | use lsp_types::{CodeActionOrCommand, Diagnostic, Range}; | 5 | use lsp_types::{CodeActionOrCommand, Diagnostic, Range}; |
3 | use ra_ide::FileId; | 6 | use ra_ide::FileId; |
4 | use std::{collections::HashMap, sync::Arc}; | ||
5 | 7 | ||
6 | pub type CheckFixes = Arc<HashMap<FileId, Vec<Fix>>>; | 8 | pub type CheckFixes = Arc<HashMap<FileId, Vec<Fix>>>; |
7 | 9 | ||