From 43d931de12dd6da0197392dea7e6e3780dcbeb91 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 7 Jul 2016 13:18:09 +0200 Subject: [PATCH] Minor indent fix. (#1561) --- parity/configuration.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parity/configuration.rs b/parity/configuration.rs index 4e68c1a61..fc4502673 100644 --- a/parity/configuration.rs +++ b/parity/configuration.rs @@ -425,11 +425,11 @@ impl Configuration { fn geth_ipc_path(&self) -> String { if cfg!(windows) { r"\\.\pipe\geth.ipc".to_owned() - } - else { - if self.args.flag_testnet { path::ethereum::with_testnet("geth.ipc") } - else { path::ethereum::with_default("geth.ipc") } - .to_str().unwrap().to_owned() + } else { + match self.args.flag_testnet { + true => path::ethereum::with_testnet("geth.ipc"), + false => path::ethereum::with_default("geth.ipc"), + }.to_str().unwrap().to_owned() } }