From 39706a5786522c6c62cee50974ce4052160f30a8 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Sat, 28 Mar 2020 18:25:19 +0800 Subject: Fix formatting --- crates/ra_proc_macro/src/process.rs | 2 +- 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 @@ use crossbeam_channel::{bounded, Receiver, Sender}; use ra_tt::Subtree; -use crate::msg::{ErrorCode, Request, Response, ResponseError, Message}; +use crate::msg::{ErrorCode, Message, Request, Response, ResponseError}; use crate::rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind}; 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 @@ //! Data struture serialization related stuffs for RPC -//! -//! Define all necessary rpc serialization data structure, -//! which include ra_tt related data and some task messages. -//! Although adding Serialize and Deserialize trait to ra_tt directly seem to be much easier, -//! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")] +//! +//! Define all necessary rpc serialization data structure, +//! which include ra_tt related data and some task messages. +//! Although adding Serialize and Deserialize trait to ra_tt directly seem to be much easier, +//! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")] //! for separation of code responsibility. use ra_tt::{ -- cgit v1.2.3