From d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4 Mon Sep 17 00:00:00 2001 From: Brandon Fairchild Date: Tue, 1 Sep 2015 16:30:42 -0400 Subject: Fix reported test-tidy errors This fixes lines that were reported to have missing space after a comma. --- components/util/ipc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/util/ipc.rs') diff --git a/components/util/ipc.rs b/components/util/ipc.rs index 7f8e0e82eda..32bbb8c14b7 100644 --- a/components/util/ipc.rs +++ b/components/util/ipc.rs @@ -26,7 +26,7 @@ pub enum OptionalIpcSender where T: Deserialize + Serialize + Send + Any { } impl OptionalIpcSender 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(|_| ()), -- cgit v1.2.3