aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-03-28 10:25:19 +0000
committerEdwin Cheng <[email protected]>2020-03-31 15:20:19 +0100
commit39706a5786522c6c62cee50974ce4052160f30a8 (patch)
tree5cdea2d7db0530bccc3a3f7fc69f2be862d5c2db
parent0aacacd4a2ece0801287cf3e8f3f7c9115f6b548 (diff)
Fix formatting
-rw-r--r--crates/ra_proc_macro/src/process.rs2
-rw-r--r--crates/ra_proc_macro/src/rpc.rs10
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 @@
3use crossbeam_channel::{bounded, Receiver, Sender}; 3use crossbeam_channel::{bounded, Receiver, Sender};
4use ra_tt::Subtree; 4use ra_tt::Subtree;
5 5
6use crate::msg::{ErrorCode, Request, Response, ResponseError, Message}; 6use crate::msg::{ErrorCode, Message, Request, Response, ResponseError};
7use crate::rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind}; 7use crate::rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind};
8 8
9use io::{BufRead, BufReader}; 9use 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
9use ra_tt::{ 9use ra_tt::{