mirror of
https://github.com/edu4rdshl/unimap.git
synced 2026-07-17 23:24:49 +00:00
Use ToString trait.
This commit is contained in:
parent
97c5b458d1
commit
3c8661bc24
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ lazy_static! {
|
||||||
static ref NMAP_DNS_RESOLVERS: String = resolver_engine::RESOLVERS
|
static ref NMAP_DNS_RESOLVERS: String = resolver_engine::RESOLVERS
|
||||||
.clone()
|
.clone()
|
||||||
.iter()
|
.iter()
|
||||||
.map(|f| f.to_string())
|
.map(ToString::to_string)
|
||||||
.collect::<Vec<String>>()
|
.collect::<Vec<String>>()
|
||||||
.join(",");
|
.join(",");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue