From 3034ccd5603d42a76193b76be46a990397461b2f Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Thu, 12 May 2016 22:39:48 -0700 Subject: [PATCH] Don't throw away = in parameter values. --- src/parameter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parameter.rs b/src/parameter.rs index 627a67b..f1de4d5 100644 --- a/src/parameter.rs +++ b/src/parameter.rs @@ -98,7 +98,7 @@ pub fn user_values(parameters: Vec) -> Result { if parts.len() < 2 { return Err("Parameters must be supplied in the form KEY=VALUE.".to_string()); } else { - user_values.insert(parts.remove(0), parts.concat()); + user_values.insert(parts.remove(0), parts.join("=")); } }