diff options
-rw-r--r-- | src/options.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs index d06fb6a2..10c31234 100644 --- a/src/options.rs +++ b/src/options.rs @@ -593,8 +593,8 @@ where } } - if let Some(no_partialeq) = matches.values_of("no-copy") { - for regex in no_partialeq { + if let Some(no_copy) = matches.values_of("no-copy") { + for regex in no_copy { builder = builder.no_copy(String::from(regex)); } } |