summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index a947840..9441973 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -87,7 +87,7 @@ impl LogItem {
// One Regex may contain multiple named capture groups, so a vector
// with all names is prepared here.
let mut als : Vec<String> = Vec::new();
- for name in cnames.clone() {
+ for name in cnames.iter() {
let mut temp = String::from(lid.alias.as_str());
temp.push('.');
temp.push_str(name.as_str());