Skip to content

Commit 39706a5

Browse files
committed
Fix formatting
1 parent 0aacacd commit 39706a5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

crates/ra_proc_macro/src/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use crossbeam_channel::{bounded, Receiver, Sender};
44
use ra_tt::Subtree;
55

6-
use crate::msg::{ErrorCode, Request, Response, ResponseError, Message};
6+
use crate::msg::{ErrorCode, Message, Request, Response, ResponseError};
77
use crate::rpc::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask, ProcMacroKind};
88

99
use io::{BufRead, BufReader};

crates/ra_proc_macro/src/rpc.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Data struture serialization related stuffs for RPC
2-
//!
3-
//! Define all necessary rpc serialization data structure,
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,
6-
//! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")]
2+
//!
3+
//! Define all necessary rpc serialization data structure,
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,
6+
//! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")]
77
//! for separation of code responsibility.
88
99
use ra_tt::{

0 commit comments

Comments
 (0)