diff options
author | Brandon Fairchild <csbit32@gmail.com> | 2015-09-01 16:30:42 -0400 |
---|---|---|
committer | Brandon Fairchild <csbit32@gmail.com> | 2015-09-01 16:30:42 -0400 |
commit | d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4 (patch) | |
tree | 9153de85fe418319e039bb3ad66ae1037233a72e /components/util/ipc.rs | |
parent | 24bc6dfb52d1864754230088e70f7aeeb03403dd (diff) | |
download | servo-d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4.tar.gz servo-d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4.zip |
Fix reported test-tidy errors
This fixes lines that were reported to have missing
space after a comma.
Diffstat (limited to 'components/util/ipc.rs')
-rw-r--r-- | components/util/ipc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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(|_| ()), |