hunter: remove unnecessary cloning
This commit is contained in:
parent
18de86dde2
commit
0bef428894
|
@ -230,10 +230,6 @@ async fn process_posts(
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
|
||||||
let introduce_hosts = introduce_hosts.into_iter()
|
|
||||||
.map(|host| host.to_owned())
|
|
||||||
.collect();
|
|
||||||
|
|
||||||
(new_post_ratio, introduce_hosts)
|
(new_post_ratio, introduce_hosts)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue