mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix reported test-tidy errors
This fixes lines that were reported to have missing space after a comma.
This commit is contained in:
parent
24bc6dfb52
commit
d61a6e2161
13 changed files with 19 additions and 19 deletions
|
@ -26,7 +26,7 @@ pub enum OptionalIpcSender<T> where T: Deserialize + Serialize + Send + Any {
|
|||
}
|
||||
|
||||
impl<T> OptionalIpcSender<T> where T: Deserialize + Serialize + Send + Any {
|
||||
pub fn send(&self, value: T) -> Result<(),()> {
|
||||
pub fn send(&self, value: T) -> Result<(), ()> {
|
||||
match *self {
|
||||
OptionalIpcSender::OutOfProcess(ref ipc_sender) => ipc_sender.send(value),
|
||||
OptionalIpcSender::InProcess(ref sender) => sender.send(value).map_err(|_| ()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue