Use ToString trait.

This commit is contained in:
Eduard Tolosa 2022-06-23 00:34:52 -05:00
parent 97c5b458d1
commit 3c8661bc24
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5

View file

@ -8,7 +8,7 @@ lazy_static! {
static ref NMAP_DNS_RESOLVERS: String = resolver_engine::RESOLVERS
.clone()
.iter()
.map(|f| f.to_string())
.map(ToString::to_string)
.collect::<Vec<String>>()
.join(",");
}