give 'str' variables more appropriate names
[nihav.git] / nihav-core / src / options.rs
index 4e4c7aa7753759c9a8b087d752f031c7b4edc805..b09bf0584db175a81a5dd2a9dc9fed2282bfdfae 100644 (file)
@@ -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 string in strings.iter() {
+                        if cur_str == string {
                             return Ok(());
                         }
                     }