projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
give 'str' variables more appropriate names
[nihav.git]
/
nihav-core
/
src
/
options.rs
diff --git
a/nihav-core/src/options.rs
b/nihav-core/src/options.rs
index 4e4c7aa7753759c9a8b087d752f031c7b4edc805..b09bf0584db175a81a5dd2a9dc9fed2282bfdfae 100644
(file)
--- a/
nihav-core/src/options.rs
+++ b/
nihav-core/src/options.rs
@@
-184,8
+184,8
@@
impl NAOptionDefinition {
},
NAValue::String(ref cur_str) => {
if let NAOptionDefinitionType::String(Some(strings)) = self.opt_type {
- for str in strings.iter() {
- if cur_str == str {
+ for str
ing
in strings.iter() {
+ if cur_str == str
ing
{
return Ok(());
}
}