diff options
Diffstat (limited to 'crates/ra_proc_macro/src')
-rw-r--r-- | crates/ra_proc_macro/src/process.rs | 2 | ||||
-rw-r--r-- | crates/ra_proc_macro/src/rpc.rs | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_proc_macro/src/process.rs b/crates/ra_proc_macro/src/process.rs index 2b1f8535a..c38c9ab2f 100644 --- a/crates/ra_proc_macro/src/process.rs +++ b/crates/ra_proc_macro/src/process.rs | |||
@@ -3,7 +3,7 @@ | |||
3 | use crossbeam_channel::{bounded, Receiver, Sender}; | 3 | use crossbeam_channel::{bounded, Receiver, Sender}; |
4 | use ra_tt::Subtree; | 4 | use ra_tt::Subtree; |
5 | 5 | ||
6 | use crate::msg::{ErrorCode, Request, Response, ResponseError, Message}; | 6 | use crate::msg::{ErrorCode, Message, Request, Response, ResponseError}; |
7 | use crate::rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind}; | 7 | use crate::rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind}; |
8 | 8 | ||
9 | use io::{BufRead, BufReader}; | 9 | use io::{BufRead, BufReader}; |
diff --git a/crates/ra_proc_macro/src/rpc.rs b/crates/ra_proc_macro/src/rpc.rs index fc8b04e28..66b3f55db 100644 --- a/crates/ra_proc_macro/src/rpc.rs +++ b/crates/ra_proc_macro/src/rpc.rs | |||
@@ -1,9 +1,9 @@ | |||
1 | //! Data struture serialization related stuffs for RPC | 1 | //! Data struture serialization related stuffs for RPC |
2 | //! | 2 | //! |
3 | //! Define all necessary rpc serialization data structure, | 3 | //! Define all necessary rpc serialization data structure, |
4 | //! which include ra_tt related data and some task messages. | 4 | //! which include ra_tt related data and some task messages. |
5 | //! Although adding Serialize and Deserialize trait to ra_tt directly seem to be much easier, | 5 | //! Although adding Serialize and Deserialize trait to ra_tt directly seem to be much easier, |
6 | //! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")] | 6 | //! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")] |
7 | //! for separation of code responsibility. | 7 | //! for separation of code responsibility. |
8 | 8 | ||
9 | use ra_tt::{ | 9 | use ra_tt::{ |