aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/diagnostics.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-18 11:26:10 +0000
committerGitHub <[email protected]>2020-02-18 11:26:10 +0000
commit2768476e491d985317b08230824f96e6718f338a (patch)
tree08e5d3f64f545d402b1a9f4fe65330ca56e1d741 /crates/ra_lsp_server/src/diagnostics.rs
parenta349e5d4fcda1a6b96a09491a59d1ec940a48654 (diff)
parent4d307ff8024c8d2d533bc3ab7aac1d63ca5c5977 (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.rs4
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
3use std::{collections::HashMap, sync::Arc};
4
2use lsp_types::{CodeActionOrCommand, Diagnostic, Range}; 5use lsp_types::{CodeActionOrCommand, Diagnostic, Range};
3use ra_ide::FileId; 6use ra_ide::FileId;
4use std::{collections::HashMap, sync::Arc};
5 7
6pub type CheckFixes = Arc<HashMap<FileId, Vec<Fix>>>; 8pub type CheckFixes = Arc<HashMap<FileId, Vec<Fix>>>;
7 9