From a55b9243931e4d35620d38bda29803f5d3c6daa4 Mon Sep 17 00:00:00 2001 From: Michael Herger Date: Wed, 31 Jan 2018 23:56:31 +0100 Subject: [PATCH] Rename variable --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ed323615..4406e104 100644 --- a/src/main.rs +++ b/src/main.rs @@ -148,7 +148,7 @@ fn setup(args: &[String]) -> Setup { let zeroconf_port = matches.opt_str("zeroconf-port") - .map(|volume| volume.parse::().unwrap()) + .map(|port| port.parse::().unwrap()) .unwrap_or(0); let name = matches.opt_str("name").unwrap();