From 7ebb173352de41a1a5203c039105c1599cfd3e8c Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 28 Dec 2018 14:25:05 +0100 Subject: [PATCH] getopt: cleanup: add trailing commas It is customary in rust to always use trailing commas. (also suggested by rustfmt) Signed-off-by: Wolfgang Bumiller --- src/getopts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getopts.rs b/src/getopts.rs index 3e22ecb7..1293deec 100644 --- a/src/getopts.rs +++ b/src/getopts.rs @@ -126,7 +126,7 @@ pub fn parse_arguments>( Some(v) => { data.push((name, v)); } - } + }, RawArgument::Argument { value } => { rest.push(value); }