Skip to content

Commit b46fd38

Browse files
committed
sort imports
1 parent f77fc15 commit b46fd38

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

crates/ra_flycheck/src/lib.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
//! cargo_check provides the functionality needed to run `cargo check` or
22
//! another compatible command (f.x. clippy) in a background thread and provide
33
//! LSP diagnostics based on the output of the command.
4-
use cargo_metadata::Message;
5-
use crossbeam_channel::{never, select, unbounded, Receiver, RecvError, Sender};
6-
use lsp_types::{
7-
CodeAction, CodeActionOrCommand, Diagnostic, Url, WorkDoneProgress, WorkDoneProgressBegin,
8-
WorkDoneProgressEnd, WorkDoneProgressReport,
9-
};
4+
mod conv;
5+
106
use std::{
117
error, fmt,
128
io::{BufRead, BufReader},
@@ -15,7 +11,12 @@ use std::{
1511
time::Instant,
1612
};
1713

18-
mod conv;
14+
use cargo_metadata::Message;
15+
use crossbeam_channel::{never, select, unbounded, Receiver, RecvError, Sender};
16+
use lsp_types::{
17+
CodeAction, CodeActionOrCommand, Diagnostic, Url, WorkDoneProgress, WorkDoneProgressBegin,
18+
WorkDoneProgressEnd, WorkDoneProgressReport,
19+
};
1920

2021
use crate::conv::{map_rust_diagnostic_to_lsp, MappedRustDiagnostic};
2122

0 commit comments

Comments
 (0)