diff options
author | Edwin Cheng <[email protected]> | 2020-03-28 10:25:19 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-03-31 15:20:19 +0100 |
commit | 39706a5786522c6c62cee50974ce4052160f30a8 (patch) | |
tree | 5cdea2d7db0530bccc3a3f7fc69f2be862d5c2db /crates/ra_proc_macro/src | |
parent | 0aacacd4a2ece0801287cf3e8f3f7c9115f6b548 (diff) |
Fix formatting
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::{ |