Skip to content

Commit 1473770

Browse files
committed
clippy
1 parent 3873335 commit 1473770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn wait(sleep: &mut dyn sleeper::Sleeper, config: &Config, on_timeout: &mut
7474
for host in config.hosts.trim().split(',') {
7575
info!("Checking availability of host [{}]", host);
7676
while !port_check::is_port_reachable_with_timeout(
77-
&host.trim().to_string(),
77+
host.trim(),
7878
Duration::from_secs(config.tcp_connection_timeout),
7979
) {
8080
info!("Host [{}] not yet available...", host);

0 commit comments

Comments
 (0)